Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6428/0.6428, allocations: 92 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.2 MB / 354.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009969, allocations: 100.3 kB / 427.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 12 kB / 0.4982 GB, free: 42.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.168, allocations: 72.32 MB / 0.5689 GB, free: 1.707 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5026/0.6706, allocations: 106 MB / 0.6723 GB, free: 14.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.671, allocations: 88.69 kB / 0.6724 GB, free: 14.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01558/0.6866, allocations: 5.571 MB / 0.6779 GB, free: 8.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6866, allocations: 0 / 0.6779 GB, free: 8.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.6867, allocations: 4 kB / 0.6779 GB, free: 8.816 MB / 474.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.0006996/0.6874, allocations: 496.1 kB / 0.6783 GB, free: 8.277 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6874, allocations: 12.03 kB / 0.6784 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.6875, allocations: 19.77 kB / 0.6784 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.6879, allocations: 247.7 kB / 0.6786 GB, free: 7.961 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.6879, allocations: 7.984 kB / 0.6786 GB, free: 7.953 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.688, allocations: 11.88 kB / 0.6786 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.6882, allocations: 87.31 kB / 0.6787 GB, free: 7.844 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.6882, allocations: 4 kB / 0.6787 GB, free: 7.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.6882, allocations: 8 kB / 0.6787 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.6883, allocations: 0 / 0.6787 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.6884, allocations: 39.92 kB / 0.6788 GB, free: 7.793 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.6891, allocations: 360.8 kB / 0.6791 GB, free: 7.391 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.6893, allocations: 78.67 kB / 0.6792 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.6893, allocations: 0 / 0.6792 GB, free: 7.305 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.6895, allocations: 91.42 kB / 0.6793 GB, free: 7.203 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 1.684e-06/0.6895, allocations: 0 / 0.6793 GB, free: 7.203 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004832/0.69, allocations: 231.7 kB / 0.6795 GB, free: 6.953 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.6901, allocations: 77.11 kB / 0.6796 GB, free: 6.859 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.6904, allocations: 249.8 kB / 0.6798 GB, free: 6.602 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.6905, allocations: 29.7 kB / 0.6798 GB, free: 6.566 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.6906, allocations: 120 kB / 0.6799 GB, free: 6.445 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.6906, allocations: 15.72 kB / 0.68 GB, free: 6.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.6906, allocations: 4 kB / 0.68 GB, free: 6.426 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6908, allocations: 330.8 kB / 0.6803 GB, free: 6.094 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.6909, allocations: 31.98 kB / 0.6803 GB, free: 6.062 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.691, allocations: 59.42 kB / 0.6804 GB, free: 5.992 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.6911, allocations: 31.92 kB / 0.6804 GB, free: 5.961 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6911, allocations: 4.375 kB / 0.6804 GB, free: 5.957 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002033/0.6913, allocations: 117.4 kB / 0.6805 GB, free: 5.836 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6914, allocations: 4.109 kB / 0.6805 GB, free: 5.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.6914, allocations: 7.938 kB / 0.6805 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.6914, allocations: 3.953 kB / 0.6805 GB, free: 5.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.6915, allocations: 15.98 kB / 0.6805 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6915, allocations: 64 / 0.6805 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.6916, allocations: 19.94 kB / 0.6806 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.6916, allocations: 0 / 0.6806 GB, free: 5.785 MB / 474.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 ($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.0001731/0.6918, allocations: 145.8 kB / 0.6807 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.6918, allocations: 15.81 kB / 0.6807 GB, free: 5.617 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.6922, allocations: 135 kB / 0.6808 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6922, allocations: 7.953 kB / 0.6808 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6922, allocations: 4 kB / 0.6809 GB, free: 5.469 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6922, allocations: 3.984 kB / 0.6809 GB, free: 5.465 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.6925, allocations: 229.6 kB / 0.6811 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6925, allocations: 0 / 0.6811 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.6925, allocations: 7.984 kB / 0.6811 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6925, allocations: 0 / 0.6811 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.6926, allocations: 4 kB / 0.6811 GB, free: 5.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6926, allocations: 0 / 0.6811 GB, free: 5.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6926, allocations: 3.953 kB / 0.6811 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.6928, allocations: 160.8 kB / 0.6812 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.693, allocations: 100.9 kB / 0.6813 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.693, allocations: 4 kB / 0.6813 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.6931, allocations: 8 kB / 0.6814 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.6931, allocations: 3.984 kB / 0.6814 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.6931, allocations: 7.953 kB / 0.6814 GB, free: 4.859 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.6934, allocations: 196.4 kB / 0.6816 GB, free: 4.668 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6934, allocations: 0 / 0.6816 GB, free: 4.668 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.6937, allocations: 43.94 kB / 0.6816 GB, free: 4.625 MB / 474.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.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.001178/0.6949, allocations: 442.7 kB / 0.682 GB, free: 4.348 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.6951, allocations: 79.91 kB / 0.6821 GB, free: 4.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6951, allocations: 0 / 0.6821 GB, free: 4.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.6952, allocations: 35.98 kB / 0.6821 GB, free: 4.234 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.6955, allocations: 32.84 kB / 0.6822 GB, free: 4.203 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.6962, allocations: 338.7 kB / 0.6825 GB, free: 3.844 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.6965, allocations: 0.7282 MB / 0.6832 GB, free: 3.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.049e-05/0.6966, allocations: 21.38 kB / 0.6832 GB, free: 3.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.6966, allocations: 23.42 kB / 0.6832 GB, free: 3.047 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6967, allocations: 3.938 kB / 0.6832 GB, free: 3.043 MB / 474.7 MB Notification: Performance of Templates: time 0.005574/0.7022, allocations: 2.271 MB / 0.6855 GB, free: 0.7969 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)