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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4781/0.4781, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.256/1.256, allocations: 221.3 MB / 348.3 MB, free: 480 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008235/0.0008235, allocations: 98.64 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.634e-05, allocations: 4 kB / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3328, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.45, allocations: 105.9 MB / 0.6637 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4503, allocations: 79.97 kB / 0.6638 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.4652, allocations: 5.548 MB / 0.6692 GB, free: 8.805 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4652, allocations: 4 kB / 0.6692 GB, free: 8.801 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.4652, allocations: 4 kB / 0.6692 GB, free: 8.797 MB / 490.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.0004953/0.4657, allocations: 471.6 kB / 0.6697 GB, free: 8.285 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4658, allocations: 11.98 kB / 0.6697 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.4658, allocations: 34.56 kB / 0.6697 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.4659, allocations: 19.77 kB / 0.6697 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.4662, allocations: 247.7 kB / 0.67 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4663, allocations: 11.98 kB / 0.67 GB, free: 7.914 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.4663, allocations: 8.922 kB / 0.67 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.4664, allocations: 87.33 kB / 0.6701 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4665, allocations: 0 / 0.6701 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4665, allocations: 0 / 0.6701 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4665, allocations: 7.953 kB / 0.6701 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.499e-05/0.4666, allocations: 35.98 kB / 0.6701 GB, free: 7.766 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.4671, allocations: 360.8 kB / 0.6705 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.4672, allocations: 77.14 kB / 0.6705 GB, free: 7.281 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.4673, allocations: 36.92 kB / 0.6706 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4673, allocations: 0 / 0.6706 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.4674, allocations: 83.34 kB / 0.6707 GB, free: 7.148 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.4675, allocations: 0 / 0.6707 GB, free: 7.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002273/0.4677, allocations: 117 kB / 0.6708 GB, free: 7.031 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.4677, allocations: 81.2 kB / 0.6708 GB, free: 6.934 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.468, allocations: 249.6 kB / 0.6711 GB, free: 6.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.468, allocations: 25.7 kB / 0.6711 GB, free: 6.652 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.4681, allocations: 120 kB / 0.6712 GB, free: 6.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.4681, allocations: 31.64 kB / 0.6713 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.4681, allocations: 0 / 0.6713 GB, free: 6.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.4682, allocations: 334.8 kB / 0.6716 GB, free: 6.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.4683, allocations: 24 kB / 0.6716 GB, free: 6.141 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.4684, allocations: 59.36 kB / 0.6716 GB, free: 6.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.4684, allocations: 33.17 kB / 0.6717 GB, free: 6.039 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4684, allocations: 0 / 0.6717 GB, free: 6.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001649/0.4686, allocations: 118 kB / 0.6718 GB, free: 5.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4686, allocations: 11.95 kB / 0.6718 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4686, allocations: 0 / 0.6718 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4686, allocations: 2.438 kB / 0.6718 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.4687, allocations: 8 kB / 0.6718 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4687, allocations: 0 / 0.6718 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.4688, allocations: 11.98 kB / 0.6718 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.4688, allocations: 0 / 0.6718 GB, free: 5.887 MB / 490.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 () * 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 7.657e-05/0.4689, allocations: 132.9 kB / 0.672 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.4689, allocations: 15.81 kB / 0.672 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.4691, allocations: 127.1 kB / 0.6721 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4692, allocations: 7.984 kB / 0.6721 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4692, allocations: 0 / 0.6721 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4692, allocations: 0 / 0.6721 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.4694, allocations: 237.5 kB / 0.6723 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4694, allocations: 0 / 0.6723 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.4694, allocations: 7.938 kB / 0.6723 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4694, allocations: 0 / 0.6723 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4695, allocations: 4 kB / 0.6723 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4695, allocations: 11.94 kB / 0.6723 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4695, allocations: 0 / 0.6723 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.4697, allocations: 136.9 kB / 0.6725 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.4697, allocations: 100.9 kB / 0.6726 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.4698, allocations: 4 kB / 0.6726 GB, free: 5.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.4698, allocations: 4 kB / 0.6726 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.4699, allocations: 11.94 kB / 0.6726 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.4699, allocations: 8 kB / 0.6726 GB, free: 4.996 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.4701, allocations: 192.4 kB / 0.6728 GB, free: 4.809 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.273e-06/0.4701, allocations: 0 / 0.6728 GB, free: 4.809 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.4703, allocations: 45 kB / 0.6728 GB, free: 4.766 MB / 490.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) * 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.001136/0.4715, allocations: 0.9726 MB / 0.6738 GB, free: 3.902 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.4716, allocations: 75.84 kB / 0.6738 GB, free: 3.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4716, allocations: 4 kB / 0.6739 GB, free: 3.824 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.4717, allocations: 42.88 kB / 0.6739 GB, free: 3.785 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.472, allocations: 31.94 kB / 0.6739 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.4725, allocations: 301 kB / 0.6742 GB, free: 3.426 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.4728, allocations: 0.7321 MB / 0.6749 GB, free: 2.668 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.765e-05/0.4728, allocations: 23.55 kB / 0.6749 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.4729, allocations: 47.42 kB / 0.675 GB, free: 2.602 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4729, allocations: 0 / 0.675 GB, free: 2.602 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.4877, allocations: 4.08 MB / 0.679 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.488, allocations: 179.9 kB / 0.6791 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/1.951, allocations: 3.25 kB / 0.6792 GB, free: 14.45 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)