Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.001462/0.001462, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.00216/0.00216, allocations: 163.2 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.226/1.226, allocations: 154.6 MB / 413.7 MB, free: 5.32 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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.76e-05, allocations: 5.969 kB / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003268/0.003296, allocations: 1.793 MB / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.005404, allocations: 1.118 MB / 0.6214 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.005485, allocations: 0 / 0.6214 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.006141, allocations: 178.6 kB / 0.6215 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.006573, allocations: 159.3 kB / 0.6217 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.006943, allocations: 131.5 kB / 0.6218 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.007201, allocations: 179.5 kB / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.007317, allocations: 25.22 kB / 0.622 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.007467, allocations: 99.73 kB / 0.6221 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.007586, allocations: 67.8 kB / 0.6222 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.007613, allocations: 8 kB / 0.6222 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.007769, allocations: 63.94 kB / 0.6222 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.007849, allocations: 47.84 kB / 0.6223 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.00791, allocations: 27.92 kB / 0.6223 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.008229, allocations: 215.2 kB / 0.6225 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.008232, allocations: 0 / 0.6225 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.008234, allocations: 0 / 0.6225 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.00824, allocations: 3.938 kB / 0.6225 GB, free: 0.5625 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007542/0.008994, allocations: 438.8 kB / 0.6229 GB, free: 100 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.00903, allocations: 9.469 kB / 0.6229 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.009086, allocations: 16.84 kB / 0.623 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.009422, allocations: 193.3 kB / 0.6232 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.009443, allocations: 8.359 kB / 0.6232 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.009467, allocations: 8.359 kB / 0.6232 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.009655, allocations: 74.17 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.009668, allocations: 3.938 kB / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.009679, allocations: 0 / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.009693, allocations: 4 kB / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.009805, allocations: 43.97 kB / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.01032, allocations: 284.4 kB / 0.6236 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.01053, allocations: 74.61 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.01061, allocations: 32.84 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.01063, allocations: 4 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.0108, allocations: 87.25 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.01081, allocations: 0 / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003595/0.01117, allocations: 145.5 kB / 0.6239 GB, free: 15.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.01121, allocations: 63.34 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.01152, allocations: 271.2 kB / 0.6242 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.01154, allocations: 25.7 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01164, allocations: 124.1 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.01168, allocations: 27.78 kB / 0.6244 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.01172, allocations: 21.72 kB / 0.6244 GB, free: 14.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.01188, allocations: 334.8 kB / 0.6247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.01195, allocations: 27.98 kB / 0.6247 GB, free: 14.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.01206, allocations: 76.27 kB / 0.6248 GB, free: 14.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.01221, allocations: 85.7 kB / 0.6249 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01221, allocations: 3.938 kB / 0.6249 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002266/0.01244, allocations: 117.5 kB / 0.625 GB, free: 13.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01246, allocations: 4 kB / 0.625 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.01246, allocations: 4.375 kB / 0.625 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01248, allocations: 0 / 0.625 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.01256, allocations: 12 kB / 0.625 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01257, allocations: 4.141 kB / 0.625 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.01263, allocations: 15.88 kB / 0.625 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.01264, allocations: 8.031 kB / 0.6251 GB, free: 13.76 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001446/0.01278, allocations: 151.9 kB / 0.6252 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.01281, allocations: 15.91 kB / 0.6252 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.01309, allocations: 135 kB / 0.6253 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.0131, allocations: 7.984 kB / 0.6254 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.01311, allocations: 3.984 kB / 0.6254 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01311, allocations: 0 / 0.6254 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.0133, allocations: 165.2 kB / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0133, allocations: 0 / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.01333, allocations: 4 kB / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01333, allocations: 4 kB / 0.6255 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01335, allocations: 4 kB / 0.6255 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.01335, allocations: 7.938 kB / 0.6255 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01335, allocations: 0 / 0.6255 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.01362, allocations: 152.3 kB / 0.6257 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.01365, allocations: 19.91 kB / 0.6257 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.0137, allocations: 3.984 kB / 0.6257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.01375, allocations: 7.984 kB / 0.6257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.01379, allocations: 3.984 kB / 0.6257 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.01381, allocations: 8 kB / 0.6257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002124/0.01402, allocations: 204.6 kB / 0.6259 GB, free: 12.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01402, allocations: 0 / 0.6259 GB, free: 12.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002537/0.01427, allocations: 39.88 kB / 0.626 GB, free: 12.79 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.001675/0.01595, allocations: 445 kB / 0.6264 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.01618, allocations: 79.89 kB / 0.6265 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.01618, allocations: 0 / 0.6265 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-05/0.01628, allocations: 35.98 kB / 0.6265 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.01659, allocations: 39.78 kB / 0.6265 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.01726, allocations: 317.9 kB / 0.6268 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.01738, allocations: 114.8 kB / 0.6269 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.158e-05/0.01745, allocations: 21.78 kB / 0.627 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.0175, allocations: 24.5 kB / 0.627 GB, free: 11.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.0175, allocations: 0 / 0.627 GB, free: 11.89 MB / 0.545 GB Notification: Performance of Templates: time 0.00655/0.02405, allocations: 2.398 MB / 0.6293 GB, free: 9.551 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.821874167770147] Failed to read output from testmodel.py, exit status != 0: 0.03249956667423248 0.047523498000000004 0.036145806 Calling exit ...