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.00116/0.00116, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009965/0.0009965, allocations: 181 kB / 23.35 MB, free: 1.137 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.018/1.018, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.8975/0.8975, allocations: 154.6 MB / 414.9 MB, free: 0.5078 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.713e-06/1.713e-06, allocations: 0 / 480.1 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.786e-05, allocations: 2.312 kB / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003549/0.003577, allocations: 1.885 MB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.005104, allocations: 1.153 MB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.005205, allocations: 2 kB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.005783, allocations: 177.7 kB / 483.3 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.006079, allocations: 157.3 kB / 483.4 MB, free: 3.547 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.006489, allocations: 140.1 kB / 483.6 MB, free: 3.41 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.00674, allocations: 184.8 kB / 483.7 MB, free: 3.234 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.006834, allocations: 13.95 kB / 483.8 MB, free: 3.223 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.006974, allocations: 99.72 kB / 483.8 MB, free: 3.125 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.007084, allocations: 67.8 kB / 483.9 MB, free: 3.059 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.007104, allocations: 8 kB / 483.9 MB, free: 3.051 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.007264, allocations: 67.88 kB / 484 MB, free: 2.984 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.007336, allocations: 49.34 kB / 484 MB, free: 2.938 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.007382, allocations: 27.88 kB / 484.1 MB, free: 2.91 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.007612, allocations: 163.4 kB / 484.2 MB, free: 2.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.007615, allocations: 0 / 484.2 MB, free: 2.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007616, allocations: 0.7812 kB / 484.2 MB, free: 2.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.00762, allocations: 0 / 484.2 MB, free: 2.75 MB / 442.7 MB 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.0004761/0.008096, allocations: 397.5 kB / 484.6 MB, free: 2.336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.00813, allocations: 12.03 kB / 484.6 MB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.008171, allocations: 21.92 kB / 484.6 MB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.008387, allocations: 190 kB / 484.8 MB, free: 2.094 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.008402, allocations: 1 kB / 484.8 MB, free: 2.094 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.008415, allocations: 8.375 kB / 484.8 MB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.008535, allocations: 57.55 kB / 484.9 MB, free: 2.023 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.008544, allocations: 4.625 kB / 484.9 MB, free: 2.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.008557, allocations: 12 kB / 484.9 MB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.00858, allocations: 4.547 kB / 484.9 MB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.008616, allocations: 16.5 kB / 484.9 MB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.00892, allocations: 197.8 kB / 485.1 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.009021, allocations: 90.7 kB / 485.2 MB, free: 1.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.009046, allocations: 12.86 kB / 485.2 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.009058, allocations: 4.469 kB / 485.2 MB, free: 1.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.009163, allocations: 75.88 kB / 485.3 MB, free: 1.574 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.009164, allocations: 0 / 485.3 MB, free: 1.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001445/0.009309, allocations: 73.61 kB / 485.4 MB, free: 1.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.009335, allocations: 51.41 kB / 485.4 MB, free: 1.434 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.00951, allocations: 223.6 kB / 485.6 MB, free: 1.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.009527, allocations: 25.7 kB / 485.7 MB, free: 1.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.009581, allocations: 101.1 kB / 485.8 MB, free: 1.066 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.00961, allocations: 27.77 kB / 485.8 MB, free: 1.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.009651, allocations: 26.2 kB / 485.8 MB, free: 1.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.00975, allocations: 331.4 kB / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.00977, allocations: 10.83 kB / 486.2 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.492e-05/0.009815, allocations: 61.31 kB / 486.2 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.074e-05/0.009875, allocations: 53.02 kB / 486.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009877, allocations: 0 / 486.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001004/0.009978, allocations: 76.38 kB / 486.3 MB, free: 460 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.00999, allocations: 8 kB / 486.4 MB, free: 452 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.009995, allocations: 1.75 kB / 486.4 MB, free: 452 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.01001, allocations: 0 / 486.4 MB, free: 452 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.01006, allocations: 11.98 kB / 486.4 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.01007, allocations: 4 kB / 486.4 MB, free: 436 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.01011, allocations: 7.953 kB / 486.4 MB, free: 428 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.01011, allocations: 0.75 kB / 486.4 MB, free: 428 kB / 442.7 MB 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.663e-05/0.0102, allocations: 128.5 kB / 486.5 MB, free: 292 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.01022, allocations: 11.94 kB / 486.5 MB, free: 280 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.01033, allocations: 79.12 kB / 486.6 MB, free: 188 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.01034, allocations: 4.719 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01034, allocations: 0.5625 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01034, allocations: 0 / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.01046, allocations: 114.5 kB / 486.7 MB, free: 52 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01046, allocations: 0 / 486.7 MB, free: 52 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.01048, allocations: 4.719 kB / 486.7 MB, free: 48 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01049, allocations: 3.938 kB / 486.7 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.01049, allocations: 8.812 kB / 486.7 MB, free: 36 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.0105, allocations: 4 kB / 486.7 MB, free: 32 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0105, allocations: 0.625 kB / 486.7 MB, free: 32 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.01061, allocations: 98.69 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.01063, allocations: 16.66 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.01065, allocations: 7.938 kB / 486.9 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.772e-05/0.01068, allocations: 0.5 kB / 486.9 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.01071, allocations: 8.484 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01071, allocations: 1.219 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.0108, allocations: 83.92 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0108, allocations: 0 / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.01099, allocations: 27.89 kB / 487 MB, free: 15.77 MB / 458.7 MB 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.001374/0.01236, allocations: 0.5221 MB / 487.5 MB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.0125, allocations: 48.81 kB / 487.5 MB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.0125, allocations: 0 / 487.5 MB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.01255, allocations: 30.16 kB / 487.6 MB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.01272, allocations: 40.64 kB / 487.6 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.01312, allocations: 284.1 kB / 487.9 MB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.01317, allocations: 71.83 kB / 488 MB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.01322, allocations: 19.95 kB / 488 MB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.01331, allocations: 75.36 kB / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01331, allocations: 0 / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of Templates: time 0.005212/0.01853, allocations: 2.638 MB / 490.7 MB, free: 12.54 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9244503737427294]