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.001535/0.001535, allocations: 181.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5488/0.5488, allocations: 91.98 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.652/1.652, allocations: 223.1 MB / 354.3 MB, free: 12.2 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.0009348/0.0009347, allocations: 88.3 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004577, allocations: 11.98 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1969, allocations: 72.31 MB / 0.5689 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5921/0.7891, allocations: 106 MB / 0.6724 GB, free: 14.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.7894, allocations: 87.94 kB / 0.6725 GB, free: 14.41 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.8063, allocations: 5.577 MB / 0.6779 GB, free: 8.844 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.8064, allocations: 0 / 0.6779 GB, free: 8.844 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.8064, allocations: 4 kB / 0.6779 GB, free: 8.84 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.000968/0.8074, allocations: 0.4923 MB / 0.6784 GB, free: 8.293 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.8075, allocations: 8.031 kB / 0.6784 GB, free: 8.285 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.951e-05/0.8075, allocations: 30.56 kB / 0.6784 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.741e-05/0.8076, allocations: 23.77 kB / 0.6785 GB, free: 8.223 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.8082, allocations: 259.6 kB / 0.6787 GB, free: 7.926 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.8083, allocations: 3.938 kB / 0.6787 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.8083, allocations: 8 kB / 0.6787 GB, free: 7.914 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.8086, allocations: 83.38 kB / 0.6788 GB, free: 7.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8086, allocations: 0 / 0.6788 GB, free: 7.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.8086, allocations: 4 kB / 0.6788 GB, free: 7.816 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.8087, allocations: 7.938 kB / 0.6788 GB, free: 7.809 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.8088, allocations: 39.98 kB / 0.6789 GB, free: 7.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.8095, allocations: 356.8 kB / 0.6792 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.8097, allocations: 74.67 kB / 0.6793 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.8097, allocations: 4 kB / 0.6793 GB, free: 7.285 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.8099, allocations: 95.31 kB / 0.6794 GB, free: 7.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.81, allocations: 0 / 0.6794 GB, free: 7.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005054/0.8105, allocations: 235.6 kB / 0.6796 GB, free: 6.926 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.8105, allocations: 81.11 kB / 0.6797 GB, free: 6.828 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.8109, allocations: 241.9 kB / 0.6799 GB, free: 6.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.8109, allocations: 29.7 kB / 0.6799 GB, free: 6.543 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.811, allocations: 120 kB / 0.68 GB, free: 6.422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.811, allocations: 23.7 kB / 0.6801 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.8111, allocations: 0 / 0.6801 GB, free: 6.398 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8112, allocations: 326.8 kB / 0.6804 GB, free: 6.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.8113, allocations: 27.98 kB / 0.6804 GB, free: 6.043 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.8114, allocations: 67.39 kB / 0.6805 GB, free: 5.965 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/0.8115, allocations: 36.08 kB / 0.6805 GB, free: 5.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8116, allocations: 3.938 kB / 0.6805 GB, free: 5.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002623/0.8118, allocations: 117.5 kB / 0.6806 GB, free: 5.805 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.8119, allocations: 7.984 kB / 0.6806 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.8119, allocations: 4.031 kB / 0.6806 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.8119, allocations: 4 kB / 0.6806 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.812, allocations: 8 kB / 0.6806 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.812, allocations: 3.984 kB / 0.6806 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.8121, allocations: 15.97 kB / 0.6807 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.8122, allocations: 7.984 kB / 0.6807 GB, free: 5.754 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.0001725/0.8123, allocations: 141.8 kB / 0.6808 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.8124, allocations: 23.7 kB / 0.6808 GB, free: 5.582 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.8127, allocations: 127 kB / 0.6809 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.8127, allocations: 7.953 kB / 0.681 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8127, allocations: 384 / 0.681 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.8127, allocations: 3.984 kB / 0.681 GB, free: 5.441 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.813, allocations: 237.6 kB / 0.6812 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.813, allocations: 0 / 0.6812 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.8131, allocations: 7.938 kB / 0.6812 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.8131, allocations: 0 / 0.6812 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.8131, allocations: 0 / 0.6812 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8131, allocations: 3.938 kB / 0.6812 GB, free: 5.148 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8131, allocations: 7.953 kB / 0.6812 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.8134, allocations: 149.4 kB / 0.6813 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.8135, allocations: 104.9 kB / 0.6814 GB, free: 4.855 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.8135, allocations: 0 / 0.6814 GB, free: 4.855 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.8136, allocations: 11.98 kB / 0.6815 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.8137, allocations: 7.953 kB / 0.6815 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.8137, allocations: 4 kB / 0.6815 GB, free: 4.832 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.8139, allocations: 196.4 kB / 0.6817 GB, free: 4.641 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8139, allocations: 0 / 0.6817 GB, free: 4.641 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000285/0.8142, allocations: 39.94 kB / 0.6817 GB, free: 4.602 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.00181/0.816, allocations: 1.023 MB / 0.6827 GB, free: 3.719 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.8163, allocations: 71.97 kB / 0.6828 GB, free: 3.648 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8163, allocations: 7.938 kB / 0.6828 GB, free: 3.641 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.8165, allocations: 43.97 kB / 0.6828 GB, free: 3.598 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.8168, allocations: 32.86 kB / 0.6828 GB, free: 3.566 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.8188, allocations: 1.127 MB / 0.6839 GB, free: 2.383 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.8193, allocations: 0.736 MB / 0.6847 GB, free: 1.621 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.8194, allocations: 33.31 kB / 0.6847 GB, free: 1.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.8195, allocations: 43.42 kB / 0.6847 GB, free: 1.547 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/0.8195, allocations: 0 / 0.6847 GB, free: 1.547 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.8381, allocations: 4.117 MB / 0.6888 GB, free: 13.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/0.8384, allocations: 214.1 kB / 0.689 GB, free: 13.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.655, allocations: 0 / 0.689 GB, free: 13.32 MB / 490.7 MB (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)