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.8085/0.8085, allocations: 143.4 MB / 158.3 MB, free: 5.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001665, allocations: 187.8 kB / 191.5 MB, free: 5.758 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.558/1.558, allocations: 223.2 MB / 447.7 MB, free: 6.52 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.0009606/0.0009605, allocations: 92.33 kB / 0.5188 GB, free: 2.883 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 275 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 16 kB / 0.6929 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3748, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.5199, allocations: 113.1 MB / 0.8841 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5203, allocations: 83.83 kB / 0.8842 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.5422, allocations: 5.579 MB / 0.8897 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5423, allocations: 0 / 0.8897 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.5423, allocations: 0 / 0.8897 GB, free: 3.328 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.0008041/0.5431, allocations: 496.1 kB / 0.8901 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5432, allocations: 12.56 kB / 0.8902 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.5433, allocations: 15.81 kB / 0.8902 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.5438, allocations: 247.7 kB / 0.8904 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.5438, allocations: 7.938 kB / 0.8904 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.5438, allocations: 8 kB / 0.8904 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.5441, allocations: 87.31 kB / 0.8905 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5441, allocations: 0 / 0.8905 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.5441, allocations: 8 kB / 0.8905 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.5442, allocations: 0 / 0.8905 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.5443, allocations: 39.97 kB / 0.8906 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.545, allocations: 368.6 kB / 0.8909 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.5453, allocations: 74.67 kB / 0.891 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.5453, allocations: 0 / 0.891 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.5456, allocations: 91.41 kB / 0.8911 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.5456, allocations: 4 kB / 0.8911 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0005164/0.5461, allocations: 231.7 kB / 0.8913 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.5462, allocations: 77.11 kB / 0.8914 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.5466, allocations: 245.9 kB / 0.8916 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.5466, allocations: 25.7 kB / 0.8916 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.5468, allocations: 124.1 kB / 0.8917 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.5468, allocations: 15.75 kB / 0.8918 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.5468, allocations: 4 kB / 0.8918 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.547, allocations: 334.8 kB / 0.8921 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.5471, allocations: 27.98 kB / 0.8921 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.5473, allocations: 59.42 kB / 0.8922 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.5474, allocations: 39.38 kB / 0.8922 GB, free: 496 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5474, allocations: 0 / 0.8922 GB, free: 496 kB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003006/0.5477, allocations: 121.3 kB / 0.8923 GB, free: 368 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5478, allocations: 4.938 kB / 0.8923 GB, free: 364 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5478, allocations: 0 / 0.8923 GB, free: 364 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5478, allocations: 4 kB / 0.8923 GB, free: 360 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5479, allocations: 15.98 kB / 0.8923 GB, free: 344 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5479, allocations: 384 / 0.8923 GB, free: 344 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.631e-05/0.548, allocations: 7.938 kB / 0.8923 GB, free: 336 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.548, allocations: 8.031 kB / 0.8924 GB, free: 328 kB / 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 () * 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.0001688/0.5482, allocations: 149.8 kB / 0.8925 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.5483, allocations: 27.72 kB / 0.8925 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.5486, allocations: 130.9 kB / 0.8926 GB, free: 8 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.5487, allocations: 4 kB / 0.8926 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5487, allocations: 0 / 0.8926 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5487, allocations: 0 / 0.8926 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.549, allocations: 237.5 kB / 0.8929 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.549, allocations: 4 kB / 0.8929 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.5491, allocations: 4 kB / 0.8929 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5491, allocations: 0 / 0.8929 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.5491, allocations: 0 / 0.8929 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.5491, allocations: 8 kB / 0.8929 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5491, allocations: 0 / 0.8929 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.5495, allocations: 156.8 kB / 0.893 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5496, allocations: 100.9 kB / 0.8931 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.5497, allocations: 4 kB / 0.8931 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.5497, allocations: 8 kB / 0.8931 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.5498, allocations: 7.984 kB / 0.8932 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.5498, allocations: 4 kB / 0.8932 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002834/0.5501, allocations: 192.6 kB / 0.8933 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5501, allocations: 0 / 0.8933 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004748/0.5506, allocations: 51.78 kB / 0.8934 GB, free: 15.16 MB / 0.5573 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.001432/0.5521, allocations: 441.8 kB / 0.8938 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.5524, allocations: 79.91 kB / 0.8939 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5524, allocations: 0 / 0.8939 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.5525, allocations: 35.98 kB / 0.8939 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.5529, allocations: 36.22 kB / 0.894 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007814/0.5537, allocations: 342.1 kB / 0.8943 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.5541, allocations: 0.736 MB / 0.895 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.5543, allocations: 21.08 kB / 0.895 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.5543, allocations: 15.44 kB / 0.895 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of SimCode: time 4.01e-07/0.5543, allocations: 0 / 0.895 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.007424/0.5618, allocations: 2.267 MB / 0.8973 GB, free: 11.32 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)