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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7627/0.7627, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009681/0.0009682, allocations: 175.9 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 78.36 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001586/0.001586, allocations: 270.5 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005481, allocations: 19.98 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3795, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.5194, allocations: 111.2 MB / 0.848 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5198, allocations: 79.95 kB / 0.8481 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.5354, allocations: 5.46 MB / 0.8535 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5355, allocations: 0 / 0.8535 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.5355, allocations: 0 / 0.8535 GB, free: 9.496 MB / 0.5261 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.0006734/0.5362, allocations: 492.5 kB / 0.8539 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5362, allocations: 8.031 kB / 0.8539 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.5363, allocations: 28.58 kB / 0.854 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.5367, allocations: 245 kB / 0.8542 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.5367, allocations: 8.375 kB / 0.8542 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.5367, allocations: 12.3 kB / 0.8542 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.5369, allocations: 95.86 kB / 0.8543 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5369, allocations: 192 / 0.8543 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.537, allocations: 3.938 kB / 0.8543 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.537, allocations: 4 kB / 0.8543 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.5371, allocations: 39.92 kB / 0.8543 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.5376, allocations: 364.7 kB / 0.8547 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.5378, allocations: 82.58 kB / 0.8548 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.5379, allocations: 40.84 kB / 0.8548 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.5379, allocations: 0 / 0.8548 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.5381, allocations: 79.39 kB / 0.8549 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.526e-06/0.5381, allocations: 0 / 0.8549 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0003351/0.5384, allocations: 149.4 kB / 0.855 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.5385, allocations: 81.11 kB / 0.8551 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.5388, allocations: 259 kB / 0.8554 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.5388, allocations: 25.7 kB / 0.8554 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.5389, allocations: 124 kB / 0.8555 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.5389, allocations: 23.72 kB / 0.8555 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/0.539, allocations: 4 kB / 0.8555 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5391, allocations: 334.8 kB / 0.8558 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/0.5392, allocations: 27.98 kB / 0.8559 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/0.5392, allocations: 59.36 kB / 0.8559 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.5394, allocations: 81.66 kB / 0.856 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5394, allocations: 384 / 0.856 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001912/0.5396, allocations: 125.4 kB / 0.8561 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5396, allocations: 4 kB / 0.8561 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5396, allocations: 0 / 0.8561 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5396, allocations: 0 / 0.8561 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.5397, allocations: 12 kB / 0.8561 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5397, allocations: 3.984 kB / 0.8561 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.5398, allocations: 15.84 kB / 0.8562 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.5398, allocations: 8.031 kB / 0.8562 GB, free: 6.449 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.5399, allocations: 141.8 kB / 0.8563 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.54, allocations: 15.81 kB / 0.8563 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.5402, allocations: 131 kB / 0.8564 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5403, allocations: 4 kB / 0.8564 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5403, allocations: 0 / 0.8564 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5403, allocations: 0 / 0.8564 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.5405, allocations: 233.5 kB / 0.8567 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5405, allocations: 4 kB / 0.8567 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.5405, allocations: 11.98 kB / 0.8567 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5405, allocations: 4 kB / 0.8567 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5406, allocations: 0 / 0.8567 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5406, allocations: 0 / 0.8567 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5406, allocations: 0 / 0.8567 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.5408, allocations: 160.7 kB / 0.8568 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.5409, allocations: 100.9 kB / 0.8569 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.5409, allocations: 7.984 kB / 0.8569 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.541, allocations: 4 kB / 0.8569 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.541, allocations: 11.98 kB / 0.857 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.541, allocations: 0 / 0.857 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001943/0.5412, allocations: 188.6 kB / 0.8571 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5412, allocations: 4 kB / 0.8571 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002454/0.5415, allocations: 39.92 kB / 0.8572 GB, free: 5.305 MB / 0.5261 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) * 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 (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.000928/0.5424, allocations: 437.3 kB / 0.8576 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.5426, allocations: 79.91 kB / 0.8577 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5426, allocations: 0 / 0.8577 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.5427, allocations: 39.98 kB / 0.8577 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.543, allocations: 51.91 kB / 0.8578 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.5436, allocations: 338.1 kB / 0.8581 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5439, allocations: 0.7282 MB / 0.8588 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.303e-05/0.544, allocations: 25.02 kB / 0.8588 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.544, allocations: 19.42 kB / 0.8588 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.544, allocations: 4 kB / 0.8588 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.005226/0.5493, allocations: 2.299 MB / 0.8611 GB, free: 1.375 MB / 0.5261 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)