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.0008221/0.0008221, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007915/0.0007915, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8627/0.8627, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.6925/0.6925, allocations: 154.6 MB / 414.5 MB, free: 0.8477 MB / 378.7 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 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.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 3.186e-06/3.186e-06, allocations: 4 kB / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.778e-05, allocations: 5.516 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003139/0.003167, allocations: 1.794 MB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.004962, allocations: 1.107 MB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.005068, allocations: 7.938 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.005726, allocations: 171.5 kB / 0.6223 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.006128, allocations: 159.3 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.006492, allocations: 142.7 kB / 0.6226 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.006743, allocations: 183.5 kB / 0.6228 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.006869, allocations: 17.3 kB / 0.6228 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.007017, allocations: 95.72 kB / 0.6229 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.007166, allocations: 67.8 kB / 0.6229 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.007202, allocations: 8 kB / 0.6229 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.007338, allocations: 71.88 kB / 0.623 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.007407, allocations: 43.84 kB / 0.623 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.007456, allocations: 35.86 kB / 0.6231 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.007708, allocations: 203.4 kB / 0.6233 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00771, allocations: 0 / 0.6233 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.222e-06/0.007711, allocations: 4 kB / 0.6233 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.007715, allocations: 0 / 0.6233 GB, free: 9.145 MB / 0.5886 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.0005715/0.008286, allocations: 438.8 kB / 0.6237 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.00832, allocations: 9.469 kB / 0.6237 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.008368, allocations: 16.84 kB / 0.6237 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.008583, allocations: 193.4 kB / 0.6239 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.008596, allocations: 4.375 kB / 0.6239 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.008608, allocations: 8.375 kB / 0.6239 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.008739, allocations: 72.69 kB / 0.624 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.008748, allocations: 3.938 kB / 0.624 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.00876, allocations: 11.98 kB / 0.624 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.008768, allocations: 3.938 kB / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.356e-05/0.008831, allocations: 35.98 kB / 0.624 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.009202, allocations: 288.4 kB / 0.6243 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.00933, allocations: 82.53 kB / 0.6244 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.00945, allocations: 32.84 kB / 0.6244 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.009465, allocations: 4 kB / 0.6244 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.009584, allocations: 83.31 kB / 0.6245 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.009585, allocations: 4 kB / 0.6245 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002418/0.009827, allocations: 145.6 kB / 0.6246 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.009857, allocations: 51.41 kB / 0.6247 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.01006, allocations: 279.1 kB / 0.625 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.01007, allocations: 29.7 kB / 0.625 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.01013, allocations: 116.1 kB / 0.6251 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.01016, allocations: 23.84 kB / 0.6251 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.01019, allocations: 21.72 kB / 0.6251 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.01028, allocations: 334.8 kB / 0.6255 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.01032, allocations: 31.98 kB / 0.6255 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.01038, allocations: 76.27 kB / 0.6256 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.01047, allocations: 89.55 kB / 0.6257 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01047, allocations: 0 / 0.6257 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001246/0.01059, allocations: 121.8 kB / 0.6258 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01061, allocations: 10.03 kB / 0.6258 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01061, allocations: 0 / 0.6258 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01062, allocations: 0 / 0.6258 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.01068, allocations: 11.98 kB / 0.6258 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01068, allocations: 4.062 kB / 0.6258 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.01072, allocations: 12 kB / 0.6258 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.01072, allocations: 11.94 kB / 0.6258 GB, free: 6.34 MB / 0.5886 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 8.621e-05/0.01081, allocations: 146.8 kB / 0.626 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.01082, allocations: 11.91 kB / 0.626 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.01099, allocations: 135 kB / 0.6261 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.01099, allocations: 4 kB / 0.6261 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.011, allocations: 0 / 0.6261 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.011, allocations: 0 / 0.6261 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.01127, allocations: 173.1 kB / 0.6263 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01127, allocations: 0 / 0.6263 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.01128, allocations: 8 kB / 0.6263 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.01129, allocations: 0 / 0.6263 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01129, allocations: 4 kB / 0.6263 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01129, allocations: 0 / 0.6263 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.0113, allocations: 0 / 0.6263 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.01143, allocations: 160.8 kB / 0.6264 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.01145, allocations: 27.78 kB / 0.6265 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.01147, allocations: 0 / 0.6265 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/0.01149, allocations: 11.98 kB / 0.6265 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.01152, allocations: 11.98 kB / 0.6265 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.01153, allocations: 0 / 0.6265 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001231/0.01165, allocations: 208.6 kB / 0.6267 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01165, allocations: 0 / 0.6267 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001662/0.01182, allocations: 24 kB / 0.6267 GB, free: 5.371 MB / 0.5886 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.0007179/0.01254, allocations: 449.1 kB / 0.6271 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.01269, allocations: 79.84 kB / 0.6272 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01269, allocations: 0 / 0.6272 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.01274, allocations: 35.98 kB / 0.6272 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.01294, allocations: 43.05 kB / 0.6273 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.01336, allocations: 351.7 kB / 0.6276 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.01343, allocations: 114.8 kB / 0.6277 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.01346, allocations: 16.5 kB / 0.6277 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.01346, allocations: 4.062 kB / 0.6277 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of Templates: time 0.004034/0.0175, allocations: 2.68 MB / 0.6304 GB, free: 1.793 MB / 0.5886 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.500812576152384] Failed to read output from testmodel.py, exit status != 0: 0.02353664394468069 0.03152929399999994 0.02215942899999994 Calling exit ...