Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7734/0.7734, allocations: 141.8 MB / 149.1 MB, free: 4.5 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 192 kB / 181.9 MB, free: 160 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.4 MB / 436 MB, free: 9.332 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 98.36 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002999/0.002999, allocations: 264.8 kB / 0.5884 GB, free: 12.34 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.152e-05/1.155e-05, allocations: 4 kB / 0.6759 GB, free: 2.684 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4059, allocations: 82.75 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.5307, allocations: 112.3 MB / 0.8664 GB, free: 0.5391 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.531, allocations: 79.95 kB / 0.8664 GB, free: 472 kB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01577/0.5468, allocations: 5.149 MB / 0.8715 GB, free: 11.34 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.5469, allocations: 4 kB / 0.8715 GB, free: 11.34 MB / 0.5419 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.0005874/0.5475, allocations: 461.2 kB / 0.8719 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5475, allocations: 10.06 kB / 0.8719 GB, free: 10.83 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.5476, allocations: 19.75 kB / 0.8719 GB, free: 10.81 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.548, allocations: 256.4 kB / 0.8722 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5481, allocations: 0 / 0.8722 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.5481, allocations: 4.562 kB / 0.8722 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/0.5482, allocations: 32.73 kB / 0.8722 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.5484, allocations: 88.5 kB / 0.8723 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5484, allocations: 4.969 kB / 0.8723 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.5484, allocations: 3.984 kB / 0.8723 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.5485, allocations: 4 kB / 0.8723 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.5491, allocations: 341.1 kB / 0.8726 GB, free: 10 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5492, allocations: 67.78 kB / 0.8727 GB, free: 9.93 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.5493, allocations: 29.67 kB / 0.8727 GB, free: 9.898 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.5493, allocations: 0.7188 kB / 0.8727 GB, free: 9.898 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.5494, allocations: 79.92 kB / 0.8728 GB, free: 9.809 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.5494, allocations: 0.5938 kB / 0.8728 GB, free: 9.809 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0003027/0.5497, allocations: 106.4 kB / 0.8729 GB, free: 9.699 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.5498, allocations: 81.11 kB / 0.873 GB, free: 9.602 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.5501, allocations: 234.3 kB / 0.8732 GB, free: 9.363 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.5501, allocations: 26.2 kB / 0.8732 GB, free: 9.332 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.5502, allocations: 100.7 kB / 0.8733 GB, free: 9.23 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.5502, allocations: 29.97 kB / 0.8734 GB, free: 9.203 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.5503, allocations: 0.6875 kB / 0.8734 GB, free: 9.203 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5504, allocations: 331.4 kB / 0.8737 GB, free: 8.871 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.5505, allocations: 29.67 kB / 0.8737 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.5505, allocations: 56.19 kB / 0.8738 GB, free: 8.777 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.5507, allocations: 37.77 kB / 0.8738 GB, free: 8.742 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5507, allocations: 0.6562 kB / 0.8738 GB, free: 8.742 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002412/0.5509, allocations: 110.1 kB / 0.8739 GB, free: 8.629 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5509, allocations: 8 kB / 0.8739 GB, free: 8.621 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.551, allocations: 4.531 kB / 0.8739 GB, free: 8.617 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.551, allocations: 0.875 kB / 0.8739 GB, free: 8.617 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.5511, allocations: 8 kB / 0.8739 GB, free: 8.609 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5511, allocations: 5.875 kB / 0.8739 GB, free: 8.605 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.5512, allocations: 12.48 kB / 0.8739 GB, free: 8.594 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.5512, allocations: 0.6875 kB / 0.8739 GB, free: 8.594 MB / 0.5419 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.5513, allocations: 114.5 kB / 0.8741 GB, free: 8.477 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.5513, allocations: 15.75 kB / 0.8741 GB, free: 8.461 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.5516, allocations: 119.6 kB / 0.8742 GB, free: 8.336 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5517, allocations: 3.984 kB / 0.8742 GB, free: 8.332 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5517, allocations: 0.5312 kB / 0.8742 GB, free: 8.332 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5517, allocations: 4.562 kB / 0.8742 GB, free: 8.328 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.5519, allocations: 206.1 kB / 0.8744 GB, free: 8.09 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.552, allocations: 1.406 kB / 0.8744 GB, free: 8.09 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.552, allocations: 4 kB / 0.8744 GB, free: 8.086 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.552, allocations: 0 / 0.8744 GB, free: 8.086 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.552, allocations: 0 / 0.8744 GB, free: 8.086 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.552, allocations: 4.219 kB / 0.8744 GB, free: 8.086 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.552, allocations: 4 kB / 0.8744 GB, free: 8.082 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002331/0.5523, allocations: 142.9 kB / 0.8745 GB, free: 7.926 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.5524, allocations: 96.92 kB / 0.8746 GB, free: 7.812 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.5524, allocations: 8.484 kB / 0.8746 GB, free: 7.805 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.5525, allocations: 8.062 kB / 0.8746 GB, free: 7.797 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.5526, allocations: 11.83 kB / 0.8747 GB, free: 7.785 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.5526, allocations: 8 kB / 0.8747 GB, free: 7.777 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001877/0.5528, allocations: 184.6 kB / 0.8748 GB, free: 7.598 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003135/0.5531, allocations: 35.94 kB / 0.8749 GB, free: 7.562 MB / 0.5419 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007921/0.5539, allocations: 336.8 kB / 0.8752 GB, free: 7.359 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.5542, allocations: 71.92 kB / 0.8753 GB, free: 7.289 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5542, allocations: 0 / 0.8753 GB, free: 7.289 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.996e-05/0.5542, allocations: 35.98 kB / 0.8753 GB, free: 7.254 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.5545, allocations: 31.97 kB / 0.8753 GB, free: 7.223 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.5551, allocations: 223.8 kB / 0.8755 GB, free: 6.98 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.5554, allocations: 0.7509 MB / 0.8763 GB, free: 6.203 MB / 0.5419 GB Notification: Performance of SimCode: time 2.385e-06/0.5555, allocations: 0 / 0.8763 GB, free: 6.203 MB / 0.5419 GB Notification: Performance of Templates: time 0.005827/0.5613, allocations: 2.175 MB / 0.8784 GB, free: 4.055 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)