Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 110.7 kB / 16.46 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 216 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002431/0.002431, allocations: 280.1 kB / 309.1 MB, free: 3.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 180.9 MB / 0.5333 GB, free: 13.84 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 109.7 kB / 0.7342 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1741, allocations: 95.34 MB / 0.8273 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001659/0.1758, allocations: 0.5219 MB / 0.8278 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001756/0.176, allocations: 47.81 kB / 0.8279 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.176, allocations: 3.938 kB / 0.8279 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.176, allocations: 0 / 0.8279 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1762, allocations: 11.92 kB / 0.8279 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 5.39e-05/0.1762, allocations: 7.984 kB / 0.8279 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.13e-05/0.1763, allocations: 7.938 kB / 0.8279 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.1763, allocations: 7.984 kB / 0.8279 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.1764, allocations: 4 kB / 0.8279 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.1764, allocations: 11.94 kB / 0.8279 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.1764, allocations: 0 / 0.8279 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-06/0.1764, allocations: 4 kB / 0.828 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.1765, allocations: 7.984 kB / 0.828 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.1765, allocations: 7.922 kB / 0.828 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 6.508e-05/0.1766, allocations: 8.266 kB / 0.828 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1766, allocations: 0 / 0.828 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1766, allocations: 0 / 0.828 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.1766, allocations: 0 / 0.828 GB, free: 9.234 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005261/0.1771, allocations: 339.3 kB / 0.8283 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1772, allocations: 8.031 kB / 0.8283 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.1772, allocations: 34.75 kB / 0.8283 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.1772, allocations: 4.938 kB / 0.8283 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.1774, allocations: 180.3 kB / 0.8285 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1774, allocations: 384 / 0.8285 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1775, allocations: 4.375 kB / 0.8285 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.911e-05/0.1775, allocations: 34.23 kB / 0.8286 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1775, allocations: 3.938 kB / 0.8286 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.1776, allocations: 0 / 0.8286 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.1776, allocations: 4 kB / 0.8286 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.1776, allocations: 0 / 0.8286 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.1777, allocations: 157.7 kB / 0.8287 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.1778, allocations: 22.55 kB / 0.8287 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.1778, allocations: 12.91 kB / 0.8287 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1778, allocations: 0 / 0.8287 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1779, allocations: 30.97 kB / 0.8288 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.1779, allocations: 0 / 0.8288 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.178, allocations: 53.62 kB / 0.8288 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1781, allocations: 51.41 kB / 0.8289 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.1781, allocations: 105.8 kB / 0.829 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1782, allocations: 33.64 kB / 0.829 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.1782, allocations: 80.14 kB / 0.8291 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1782, allocations: 11.94 kB / 0.8291 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.1783, allocations: 13.72 kB / 0.8291 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1784, allocations: 311 kB / 0.8294 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.1784, allocations: 11.94 kB / 0.8294 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.1784, allocations: 21.7 kB / 0.8294 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.1785, allocations: 21.72 kB / 0.8295 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1785, allocations: 256 / 0.8295 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.239e-05/0.1786, allocations: 49.62 kB / 0.8295 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1786, allocations: 13.94 kB / 0.8295 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1786, allocations: 7.984 kB / 0.8295 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1786, allocations: 0 / 0.8295 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.1787, allocations: 4 kB / 0.8295 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1787, allocations: 0 / 0.8295 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.1787, allocations: 7.938 kB / 0.8295 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1787, allocations: 0 / 0.8295 GB, free: 7.391 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/0.1788, allocations: 110.5 kB / 0.8296 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.1788, allocations: 3.938 kB / 0.8296 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.1789, allocations: 65.09 kB / 0.8297 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1789, allocations: 0 / 0.8297 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1789, allocations: 0 / 0.8297 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1789, allocations: 0 / 0.8297 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.179, allocations: 153.7 kB / 0.8299 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.179, allocations: 0 / 0.8299 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.1791, allocations: 4 kB / 0.8299 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1791, allocations: 3.938 kB / 0.8299 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1791, allocations: 0 / 0.8299 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1791, allocations: 4 kB / 0.8299 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1791, allocations: 8.016 kB / 0.8299 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.1792, allocations: 77.06 kB / 0.8299 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1793, allocations: 85.12 kB / 0.83 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1793, allocations: 3.938 kB / 0.83 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.1793, allocations: 0 / 0.83 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.1794, allocations: 0 / 0.83 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1794, allocations: 0 / 0.83 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.1794, allocations: 95.36 kB / 0.8301 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1794, allocations: 0 / 0.8301 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001757/0.1796, allocations: 4 kB / 0.8301 GB, free: 6.684 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004643/0.1801, allocations: 0.6163 MB / 0.8307 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.1802, allocations: 16.09 kB / 0.8307 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1802, allocations: 0 / 0.8307 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.1802, allocations: 7.984 kB / 0.8308 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1804, allocations: 5.016 kB / 0.8308 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1815, allocations: 1.158 MB / 0.8319 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1818, allocations: 0.6769 MB / 0.8325 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.1818, allocations: 4 kB / 0.8326 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.1818, allocations: 11.44 kB / 0.8326 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of SimCode: time 6.12e-07/0.1818, allocations: 0 / 0.8326 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.2074, allocations: 1.222 MB / 0.8338 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.785, allocations: 2.891 kB / 0.8338 GB, free: 2.922 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.794159390963614] Failed to read output from testmodel.py, exit status != 0: 7.847310156095773 7.860901234 7.681648219 Calling exit ...