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.0009825/0.0009825, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001145/0.001145, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9919/0.9919, allocations: 177.1 MB / 203.7 MB, free: 5.512 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-535:34: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-535:42: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.8312/0.8312, allocations: 154.9 MB / 415.1 MB, free: 272 kB / 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 1.453e-06/1.453e-06, allocations: 0 / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.739e-05, allocations: 3.406 kB / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002589/0.002606, allocations: 1.825 MB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003854, allocations: 1.14 MB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.003921, allocations: 0.5625 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.004354, allocations: 178 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.004577, allocations: 156.5 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.004802, allocations: 148.1 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.004956, allocations: 176.8 kB / 0.5247 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.618e-05/0.005023, allocations: 9.312 kB / 0.5247 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.005124, allocations: 99.72 kB / 0.5248 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.005203, allocations: 67.8 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.005221, allocations: 9.344 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.005323, allocations: 67.88 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.005376, allocations: 43.84 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.005415, allocations: 40.62 kB / 0.525 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.005596, allocations: 155.4 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005598, allocations: 0.8438 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005599, allocations: 0 / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.005603, allocations: 0 / 0.5251 GB, free: 13.46 MB / 0.4948 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.0005139/0.006117, allocations: 0.5272 MB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.006155, allocations: 12.03 kB / 0.5257 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.006199, allocations: 16.84 kB / 0.5257 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.006386, allocations: 200.9 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.006405, allocations: 384 / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.006416, allocations: 4.375 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.00653, allocations: 58.72 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.006542, allocations: 7.938 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.006549, allocations: 0.5 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.006569, allocations: 1.094 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.0066, allocations: 19.92 kB / 0.526 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.006923, allocations: 309 kB / 0.5262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.007029, allocations: 59.09 kB / 0.5263 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.007059, allocations: 24.23 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.007077, allocations: 1.438 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.007191, allocations: 69.05 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.007192, allocations: 112 / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002162/0.007408, allocations: 105.9 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.007442, allocations: 56.42 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.007653, allocations: 275.1 kB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.007675, allocations: 29.7 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.007761, allocations: 171.8 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.007793, allocations: 27.78 kB / 0.527 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.007845, allocations: 39.97 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002514/0.008096, allocations: 0.5001 MB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.00812, allocations: 13.3 kB / 0.5276 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.008189, allocations: 76.67 kB / 0.5276 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.264e-05/0.008252, allocations: 44.03 kB / 0.5277 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008254, allocations: 0 / 0.5277 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001146/0.008369, allocations: 86.97 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.008382, allocations: 10.34 kB / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.008389, allocations: 0 / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.008403, allocations: 2.469 kB / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.008468, allocations: 15.92 kB / 0.5278 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.008472, allocations: 0 / 0.5278 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.008509, allocations: 11.95 kB / 0.5278 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.008516, allocations: 4 kB / 0.5278 GB, free: 10.51 MB / 0.4948 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.0001175/0.008634, allocations: 164.5 kB / 0.528 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.008657, allocations: 24.81 kB / 0.528 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.00881, allocations: 91.08 kB / 0.5281 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.008825, allocations: 9.062 kB / 0.5281 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008829, allocations: 0 / 0.5281 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.008835, allocations: 7.922 kB / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.009086, allocations: 138.1 kB / 0.5282 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.00909, allocations: 4 kB / 0.5282 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.009111, allocations: 4.781 kB / 0.5282 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.009114, allocations: 3.938 kB / 0.5282 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.009122, allocations: 6.734 kB / 0.5282 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.009124, allocations: 4 kB / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009125, allocations: 0 / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.009255, allocations: 132.3 kB / 0.5284 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.009281, allocations: 23.8 kB / 0.5284 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.009301, allocations: 3.938 kB / 0.5284 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.618e-05/0.009327, allocations: 4 kB / 0.5284 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.009366, allocations: 10.86 kB / 0.5284 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.009376, allocations: 7.938 kB / 0.5284 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001007/0.009476, allocations: 191 kB / 0.5286 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009476, allocations: 0 / 0.5286 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000179/0.009655, allocations: 31.94 kB / 0.5286 GB, free: 9.605 MB / 0.4948 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.0009506/0.01061, allocations: 389.4 kB / 0.529 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.01071, allocations: 52.17 kB / 0.5291 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01071, allocations: 0 / 0.5291 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.01074, allocations: 28.44 kB / 0.5291 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.01094, allocations: 50.02 kB / 0.5291 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.0113, allocations: 280.1 kB / 0.5294 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.01135, allocations: 75.83 kB / 0.5295 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.483e-05/0.01139, allocations: 19.58 kB / 0.5295 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.01147, allocations: 94.19 kB / 0.5296 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.01147, allocations: 0 / 0.5296 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of Templates: time 0.004688/0.01616, allocations: 2.661 MB / 0.5322 GB, free: 6.27 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7825614642351866]