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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7571/0.7571, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009967/0.0009966, allocations: 182.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.0008101, allocations: 95.36 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001615/0.001615, allocations: 273.9 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.8e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3857, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.5132, allocations: 113 MB / 0.8746 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5135, allocations: 79.83 kB / 0.8747 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.5284, allocations: 5.556 MB / 0.8801 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5285, allocations: 0 / 0.8801 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.5285, allocations: 4 kB / 0.8801 GB, free: 5.91 MB / 0.5417 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.0005339/0.529, allocations: 455.7 kB / 0.8806 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5291, allocations: 8.031 kB / 0.8806 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.5292, allocations: 15.81 kB / 0.8806 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.5295, allocations: 255.7 kB / 0.8808 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.5296, allocations: 3.953 kB / 0.8808 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.5296, allocations: 8 kB / 0.8809 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.5298, allocations: 83.39 kB / 0.8809 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5298, allocations: 0 / 0.8809 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.5299, allocations: 7.938 kB / 0.8809 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5299, allocations: 0 / 0.8809 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.53, allocations: 47.86 kB / 0.881 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.5306, allocations: 364.7 kB / 0.8813 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.5307, allocations: 74.66 kB / 0.8814 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.5308, allocations: 36.95 kB / 0.8814 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.5308, allocations: 0 / 0.8814 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.531, allocations: 91.36 kB / 0.8815 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.531, allocations: 0 / 0.8815 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0003204/0.5313, allocations: 109.4 kB / 0.8816 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.5314, allocations: 81.11 kB / 0.8817 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.5317, allocations: 241.7 kB / 0.8819 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.5317, allocations: 25.7 kB / 0.882 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.5318, allocations: 116.1 kB / 0.8821 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.5318, allocations: 23.66 kB / 0.8821 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.5319, allocations: 0 / 0.8821 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.532, allocations: 338.8 kB / 0.8824 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.532, allocations: 24 kB / 0.8824 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.5321, allocations: 59.42 kB / 0.8825 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.5322, allocations: 32.08 kB / 0.8825 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5322, allocations: 0 / 0.8825 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001712/0.5323, allocations: 125.4 kB / 0.8827 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5324, allocations: 8.062 kB / 0.8827 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5324, allocations: 0 / 0.8827 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5324, allocations: 0 / 0.8827 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.5325, allocations: 15.98 kB / 0.8827 GB, free: 3.066 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.5325, allocations: 0 / 0.8827 GB, free: 3.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.5326, allocations: 8.016 kB / 0.8827 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5326, allocations: 7.938 kB / 0.8827 GB, free: 3.051 MB / 0.5417 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 8.909e-05/0.5327, allocations: 120.9 kB / 0.8828 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.5327, allocations: 19.81 kB / 0.8828 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.533, allocations: 127.1 kB / 0.8829 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.533, allocations: 4 kB / 0.883 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.533, allocations: 0 / 0.883 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.533, allocations: 0 / 0.883 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.5332, allocations: 237.5 kB / 0.8832 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5332, allocations: 0 / 0.8832 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.5333, allocations: 4 kB / 0.8832 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5333, allocations: 7.984 kB / 0.8832 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5333, allocations: 0 / 0.8832 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5333, allocations: 4 kB / 0.8832 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5333, allocations: 0 / 0.8832 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.5335, allocations: 148.8 kB / 0.8833 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/0.5336, allocations: 100.9 kB / 0.8834 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.5336, allocations: 8 kB / 0.8834 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.5337, allocations: 7.984 kB / 0.8834 GB, free: 2.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.5337, allocations: 4 kB / 0.8834 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.5337, allocations: 4 kB / 0.8835 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001842/0.5339, allocations: 192.4 kB / 0.8836 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5339, allocations: 4 kB / 0.8836 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002447/0.5342, allocations: 43.92 kB / 0.8837 GB, free: 1.938 MB / 0.5417 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.0009545/0.5352, allocations: 385.7 kB / 0.8841 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.5354, allocations: 81.72 kB / 0.8841 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5354, allocations: 4 kB / 0.8841 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.5355, allocations: 44 kB / 0.8842 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.5357, allocations: 38.81 kB / 0.8842 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.5361, allocations: 222.2 kB / 0.8844 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.5364, allocations: 0.7321 MB / 0.8851 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.246e-05/0.5365, allocations: 27.31 kB / 0.8852 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.5366, allocations: 23.42 kB / 0.8852 GB, free: 484 kB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.5366, allocations: 0 / 0.8852 GB, free: 484 kB / 0.5417 GB Notification: Performance of Templates: time 0.005172/0.5417, allocations: 2.272 MB / 0.8874 GB, free: 14.23 MB / 0.5573 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)