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.001009/0.001009, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009632/0.0009632, allocations: 173 kB / 23.02 MB, free: 1.547 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.9896/0.9896, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7588/0.7588, allocations: 154.9 MB / 414.8 MB, free: 404 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.423e-06/1.423e-06, allocations: 0 / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.287e-05, allocations: 8.844 kB / 0.5207 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.005963/0.005986, allocations: 1.838 MB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004666/0.01065, allocations: 1.159 MB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.01076, allocations: 4.812 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.0114, allocations: 171.4 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.01177, allocations: 159.3 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.0121, allocations: 135.5 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.01232, allocations: 179.4 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.01243, allocations: 18.02 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.01256, allocations: 99.66 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.01266, allocations: 64.42 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.01268, allocations: 8.938 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.01282, allocations: 71.88 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.01289, allocations: 43.84 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.01294, allocations: 33.47 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.01318, allocations: 159.4 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01318, allocations: 0 / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.91e-07/0.01318, allocations: 0 / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.01319, allocations: 4.844 kB / 0.5247 GB, free: 13.7 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.00358/0.01677, allocations: 0.5246 MB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.01681, allocations: 10.03 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.01686, allocations: 20.84 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.01709, allocations: 200.9 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.01711, allocations: 384 / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.01712, allocations: 8.375 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.01725, allocations: 58.84 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01726, allocations: 3.938 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.01727, allocations: 4.531 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.01729, allocations: 4.688 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.01734, allocations: 19.92 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.01775, allocations: 336.2 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.01787, allocations: 68.47 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.01791, allocations: 23.67 kB / 0.526 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.01792, allocations: 0.7812 kB / 0.526 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.01803, allocations: 73.05 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.01803, allocations: 0.875 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002327/0.01826, allocations: 113.5 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.01829, allocations: 62.44 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.0185, allocations: 275.2 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.01852, allocations: 33.69 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.261e-05/0.0186, allocations: 166.9 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.01863, allocations: 23.8 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.01868, allocations: 35.36 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.01881, allocations: 0.5001 MB / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.01884, allocations: 15.98 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.01891, allocations: 73.19 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.01897, allocations: 48.44 kB / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01898, allocations: 0 / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001335/0.01911, allocations: 94.88 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01912, allocations: 4 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01913, allocations: 4.938 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01914, allocations: 3.984 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/0.02223, allocations: 11.94 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.02223, allocations: 0.8281 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.02228, allocations: 12.83 kB / 0.5275 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.02228, allocations: 4 kB / 0.5275 GB, free: 10.67 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 9.849e-05/0.02238, allocations: 173.7 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.02241, allocations: 19.91 kB / 0.5276 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.02257, allocations: 99.91 kB / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.02258, allocations: 7.984 kB / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.02259, allocations: 0.6562 kB / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.02259, allocations: 0 / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.02274, allocations: 183.6 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.02274, allocations: 3.984 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.02276, allocations: 4 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.02276, allocations: 0 / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.02277, allocations: 0 / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.02277, allocations: 0 / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.02278, allocations: 4 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.02292, allocations: 144.2 kB / 0.5281 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.02294, allocations: 22.92 kB / 0.5281 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.02296, allocations: 7.984 kB / 0.5281 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.023, allocations: 4 kB / 0.5281 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.02303, allocations: 7.984 kB / 0.5281 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.02304, allocations: 0 / 0.5281 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001333/0.02317, allocations: 199.1 kB / 0.5283 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02317, allocations: 0 / 0.5283 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002293/0.0234, allocations: 35.92 kB / 0.5283 GB, free: 9.707 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.001022/0.02442, allocations: 398 kB / 0.5287 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.02457, allocations: 59.34 kB / 0.5288 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02457, allocations: 0 / 0.5288 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.02462, allocations: 31.61 kB / 0.5288 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.02486, allocations: 51.69 kB / 0.5289 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.02831, allocations: 266.7 kB / 0.5291 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.0286, allocations: 76.8 kB / 0.5292 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.488e-05/0.02866, allocations: 22.59 kB / 0.5292 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.0287, allocations: 29.08 kB / 0.5292 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.0287, allocations: 0 / 0.5292 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of Templates: time 0.008429/0.03713, allocations: 2.595 MB / 0.5318 GB, free: 6.492 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.755066660232842]