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.0007873/0.0007873, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0008151/0.0008151, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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 0.8896/0.8896, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7897/0.7897, allocations: 203.8 MB / 0.5049 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000951/0.000951, allocations: 72.53 kB / 0.7194 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4583, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002276/0.4606, allocations: 1.773 MB / 0.8207 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.462, allocations: 1.205 MB / 0.8219 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.4621, allocations: 3.938 kB / 0.8219 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.4624, allocations: 54.86 kB / 0.822 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.4627, allocations: 121 kB / 0.8221 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.4631, allocations: 205.7 kB / 0.8223 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.4633, allocations: 152.8 kB / 0.8224 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4634, allocations: 22.05 kB / 0.8225 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.4634, allocations: 64.36 kB / 0.8225 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.4636, allocations: 69.3 kB / 0.8226 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.4636, allocations: 6.844 kB / 0.8226 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.4637, allocations: 86.11 kB / 0.8227 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.4638, allocations: 42.58 kB / 0.8227 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.4638, allocations: 49.78 kB / 0.8228 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.4641, allocations: 216.3 kB / 0.823 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4641, allocations: 1.062 kB / 0.823 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4641, allocations: 0 / 0.823 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4641, allocations: 0 / 0.823 GB, free: 14.85 MB / 0.6198 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.0005351/0.4646, allocations: 423.8 kB / 0.8234 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.4647, allocations: 8.469 kB / 0.8234 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.4647, allocations: 21.36 kB / 0.8234 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.465, allocations: 196.7 kB / 0.8236 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.465, allocations: 7.781 kB / 0.8236 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.465, allocations: 7.266 kB / 0.8236 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4652, allocations: 114.5 kB / 0.8237 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4652, allocations: 0.5625 kB / 0.8237 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4652, allocations: 1.375 kB / 0.8237 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4653, allocations: 6.094 kB / 0.8237 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.4653, allocations: 45.05 kB / 0.8238 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.4657, allocations: 293.1 kB / 0.824 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.4659, allocations: 92.45 kB / 0.8241 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.4659, allocations: 35.78 kB / 0.8242 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.466, allocations: 0 / 0.8242 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.4661, allocations: 81.89 kB / 0.8242 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.4661, allocations: 1.406 kB / 0.8242 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002708/0.4664, allocations: 143.4 kB / 0.8244 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4664, allocations: 83.91 kB / 0.8245 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4666, allocations: 273.4 kB / 0.8247 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.4666, allocations: 31.66 kB / 0.8248 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.4667, allocations: 117.5 kB / 0.8249 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4667, allocations: 25.19 kB / 0.8249 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.4668, allocations: 25.8 kB / 0.8249 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.4669, allocations: 333.3 kB / 0.8252 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.4669, allocations: 27.55 kB / 0.8253 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.467, allocations: 119 kB / 0.8254 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.495e-05/0.4671, allocations: 72.61 kB / 0.8254 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4671, allocations: 0 / 0.8254 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001461/0.4672, allocations: 119.9 kB / 0.8256 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4673, allocations: 12.25 kB / 0.8256 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4673, allocations: 1.25 kB / 0.8256 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4673, allocations: 0.7969 kB / 0.8256 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.4674, allocations: 17.33 kB / 0.8256 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.4674, allocations: 1.469 kB / 0.8256 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.4674, allocations: 14.91 kB / 0.8256 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4674, allocations: 3.359 kB / 0.8256 GB, free: 12.72 MB / 0.6198 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.0001006/0.4675, allocations: 146.5 kB / 0.8257 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.4675, allocations: 14.94 kB / 0.8258 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4677, allocations: 136.3 kB / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.4677, allocations: 3.062 kB / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4678, allocations: 0 / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4678, allocations: 4.547 kB / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.4679, allocations: 158 kB / 0.826 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4679, allocations: 1.797 kB / 0.826 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.4679, allocations: 11.91 kB / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4679, allocations: 0 / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4679, allocations: 2.062 kB / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4679, allocations: 1.969 kB / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4679, allocations: 4 kB / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.4681, allocations: 160.2 kB / 0.8262 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.4681, allocations: 15.77 kB / 0.8262 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.4681, allocations: 2.797 kB / 0.8262 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.4682, allocations: 6.641 kB / 0.8262 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.4682, allocations: 9.156 kB / 0.8263 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4682, allocations: 3.578 kB / 0.8263 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001391/0.4684, allocations: 200.4 kB / 0.8264 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4684, allocations: 5.375 kB / 0.8265 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001896/0.4686, allocations: 35.78 kB / 0.8265 GB, free: 12.12 MB / 0.6198 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.0007915/0.4694, allocations: 459.8 kB / 0.8269 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.4695, allocations: 70.17 kB / 0.827 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4695, allocations: 0 / 0.827 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.4696, allocations: 37.91 kB / 0.827 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.4698, allocations: 54.92 kB / 0.8271 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.4703, allocations: 338.8 kB / 0.8274 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.209e-05/0.4704, allocations: 115.4 kB / 0.8275 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.4704, allocations: 22.52 kB / 0.8275 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.4704, allocations: 0 / 0.8275 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.004428/0.4749, allocations: 2.719 MB / 0.8302 GB, free: 11.24 MB / 0.6198 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.885005454998463] Failed to read output from testmodel.py, exit status != 0: 0.4813082329928875 0.49129275699999997 0.02516548 Calling exit ...