Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009607/0.0009607, 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.0009806/0.0009806, allocations: 165 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 1.028/1.028, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.815/0.815, allocations: 154.6 MB / 414.5 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.056e-05, allocations: 4.953 kB / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.00225/0.002271, allocations: 1.83 MB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.003637, allocations: 1.153 MB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.003716, allocations: 0 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.004211, allocations: 177.5 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.004503, allocations: 157.6 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.004822, allocations: 143.4 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.005011, allocations: 177.2 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.005089, allocations: 13.31 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.005197, allocations: 99.66 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.005282, allocations: 63.86 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.005299, allocations: 8 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.005414, allocations: 73.44 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.005473, allocations: 47.83 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.005518, allocations: 35.86 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.005724, allocations: 155.4 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005726, allocations: 0.75 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.005726, allocations: 3.938 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.00573, allocations: 1.469 kB / 0.5243 GB, free: 14.07 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.0004805/0.006211, allocations: 0.5246 MB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.006241, allocations: 12.03 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.006285, allocations: 18.19 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.006493, allocations: 200.5 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.006507, allocations: 8.375 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.006521, allocations: 8.375 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.006632, allocations: 59 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006641, allocations: 11.88 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.006649, allocations: 3.062 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.00666, allocations: 0 / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.006698, allocations: 15.98 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.007046, allocations: 343.6 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.007147, allocations: 67.03 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.007177, allocations: 15.69 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.007189, allocations: 4.562 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.159e-05/0.007281, allocations: 77.59 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.007282, allocations: 0 / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001871/0.007469, allocations: 110.5 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.007491, allocations: 52.03 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.007665, allocations: 280.3 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.007679, allocations: 31.17 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.007749, allocations: 166.9 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.007773, allocations: 23.78 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.007809, allocations: 39.3 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.007928, allocations: 0.5049 MB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.007954, allocations: 12 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.008002, allocations: 71.66 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.008064, allocations: 51.34 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008066, allocations: 4 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001055/0.008171, allocations: 101.4 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.008182, allocations: 4 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008187, allocations: 0 / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.0082, allocations: 2.75 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.008255, allocations: 12.11 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.00826, allocations: 3.938 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.008291, allocations: 7.984 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.008296, allocations: 0 / 0.5271 GB, free: 11.04 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 8.399e-05/0.00838, allocations: 168.5 kB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.008399, allocations: 16.59 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.008537, allocations: 103.2 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.008546, allocations: 5.156 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.008549, allocations: 0 / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008552, allocations: 0 / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.008691, allocations: 185.2 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008693, allocations: 0 / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.00871, allocations: 5.656 kB / 0.5276 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.008712, allocations: 0 / 0.5276 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.00872, allocations: 8 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.008721, allocations: 0 / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008722, allocations: 2.516 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.008841, allocations: 155 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.008862, allocations: 23.78 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.008881, allocations: 8 kB / 0.5277 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.008904, allocations: 0 / 0.5277 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.00894, allocations: 7.984 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.008947, allocations: 4 kB / 0.5278 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000104/0.009051, allocations: 202 kB / 0.5279 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009051, allocations: 0 / 0.5279 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001594/0.009211, allocations: 31.94 kB / 0.528 GB, free: 10.07 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.0007993/0.01001, allocations: 398.7 kB / 0.5284 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.01013, allocations: 55.59 kB / 0.5284 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01014, allocations: 0 / 0.5284 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.01017, allocations: 27.67 kB / 0.5284 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.01036, allocations: 53.81 kB / 0.5285 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.01073, allocations: 270.6 kB / 0.5287 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.01077, allocations: 85.11 kB / 0.5288 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.01082, allocations: 26.39 kB / 0.5289 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.01085, allocations: 16.5 kB / 0.5289 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01085, allocations: 0.8438 kB / 0.5289 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of Templates: time 0.004477/0.01533, allocations: 2.422 MB / 0.5312 GB, free: 7.02 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.186057896818966]