Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 166.7 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.181/1.181, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.868e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003478/0.003507, allocations: 1.781 MB / 0.6203 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.005765, allocations: 1.188 MB / 0.6214 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.005846, allocations: 3.938 kB / 0.6214 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.006149, allocations: 63.61 kB / 0.6215 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.006496, allocations: 115.5 kB / 0.6216 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.007061, allocations: 205.5 kB / 0.6218 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.007307, allocations: 163.6 kB / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.007408, allocations: 9.641 kB / 0.622 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.007557, allocations: 91.67 kB / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.007676, allocations: 59.86 kB / 0.6221 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.007702, allocations: 8 kB / 0.6221 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.007878, allocations: 79.86 kB / 0.6222 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.007964, allocations: 47.83 kB / 0.6222 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.008029, allocations: 27.88 kB / 0.6223 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.008374, allocations: 219.3 kB / 0.6225 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.008378, allocations: 4 kB / 0.6225 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.008379, allocations: 0 / 0.6225 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.008384, allocations: 0 / 0.6225 GB, free: 0.5781 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007183/0.009102, allocations: 422.9 kB / 0.6229 GB, free: 132 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.009145, allocations: 13.41 kB / 0.6229 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.009207, allocations: 24.78 kB / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.009611, allocations: 197.3 kB / 0.6231 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.009632, allocations: 8.312 kB / 0.6231 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.009651, allocations: 4.375 kB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.009893, allocations: 117.6 kB / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.009906, allocations: 7.938 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.009918, allocations: 0 / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.009932, allocations: 4 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.01005, allocations: 39.91 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.01058, allocations: 288.5 kB / 0.6235 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.01083, allocations: 86.59 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.01092, allocations: 36.88 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.01093, allocations: 0 / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.01111, allocations: 91.3 kB / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.01112, allocations: 0 / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003958/0.01151, allocations: 145.5 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.01158, allocations: 81.11 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.01188, allocations: 275.2 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.0119, allocations: 25.7 kB / 0.6243 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.012, allocations: 116.1 kB / 0.6244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.01203, allocations: 27.78 kB / 0.6244 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.01208, allocations: 25.7 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.01223, allocations: 330.8 kB / 0.6247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.01231, allocations: 27.98 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.01245, allocations: 118.8 kB / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.01261, allocations: 77.56 kB / 0.6249 GB, free: 13.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01261, allocations: 0 / 0.6249 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002448/0.01286, allocations: 109.6 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01287, allocations: 7.938 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01288, allocations: 4 kB / 0.6251 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.0129, allocations: 0 / 0.6251 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.013, allocations: 19.98 kB / 0.6251 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01301, allocations: 8 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.01308, allocations: 3.953 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.01308, allocations: 4 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.01324, allocations: 151.4 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.01327, allocations: 15.91 kB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.01358, allocations: 131 kB / 0.6254 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.01359, allocations: 4 kB / 0.6254 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.0136, allocations: 3.984 kB / 0.6254 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.0136, allocations: 4 kB / 0.6254 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.01379, allocations: 161.2 kB / 0.6255 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01379, allocations: 3.984 kB / 0.6255 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.01384, allocations: 8 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.01385, allocations: 4.172 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.01386, allocations: 4 kB / 0.6256 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01386, allocations: 7.938 kB / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01386, allocations: 0 / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.01416, allocations: 156.8 kB / 0.6257 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.0142, allocations: 19.89 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.01423, allocations: 4 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.01428, allocations: 4 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.01435, allocations: 11.98 kB / 0.6258 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.01436, allocations: 4 kB / 0.6258 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002154/0.01458, allocations: 208.6 kB / 0.626 GB, free: 12.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01458, allocations: 0 / 0.626 GB, free: 12.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002541/0.01483, allocations: 35.92 kB / 0.626 GB, free: 12.67 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/0.0165, allocations: 451.9 kB / 0.6264 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.01674, allocations: 75.91 kB / 0.6265 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01674, allocations: 0 / 0.6265 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.01684, allocations: 35.92 kB / 0.6265 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.01714, allocations: 45.78 kB / 0.6266 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.0177, allocations: 302.3 kB / 0.6269 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.01782, allocations: 110.8 kB / 0.627 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.975e-05/0.01789, allocations: 29.53 kB / 0.627 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.01796, allocations: 24.48 kB / 0.627 GB, free: 11.79 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.01796, allocations: 0 / 0.627 GB, free: 11.79 MB / 0.545 GB Notification: Performance of Templates: time 0.00704/0.025, allocations: 2.683 MB / 0.6296 GB, free: 9.168 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.763543918728828] Failed to read output from testmodel.py, exit status != 0: 0.033613067120313644 0.047609298 0.03625989 Calling exit ...