Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001294/0.001294, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001557/0.001557, allocations: 212.3 kB / 22.25 MB, free: 4.855 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002594/0.002594, allocations: 287.5 kB / 312.7 MB, free: 2.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.12/1.12, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.002754/0.002754, allocations: 104.9 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1674, allocations: 95.39 MB / 0.8327 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002655/0.1701, allocations: 1.585 MB / 0.8342 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1716, allocations: 0.9218 MB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.1716, allocations: 0 / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.1717, allocations: 3.938 kB / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1718, allocations: 27.73 kB / 0.8351 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1722, allocations: 156.4 kB / 0.8353 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1724, allocations: 83.64 kB / 0.8354 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.1724, allocations: 12.2 kB / 0.8354 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1726, allocations: 39.92 kB / 0.8354 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.997e-05/0.1726, allocations: 35.78 kB / 0.8354 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1727, allocations: 8 kB / 0.8355 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.173, allocations: 275.6 kB / 0.8357 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.1731, allocations: 11.94 kB / 0.8357 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.1731, allocations: 23.86 kB / 0.8357 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.1733, allocations: 163.3 kB / 0.8359 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1733, allocations: 4 kB / 0.8359 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1733, allocations: 0 / 0.8359 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1734, allocations: 0 / 0.8359 GB, free: 4.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005185/0.1739, allocations: 333.7 kB / 0.8362 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1739, allocations: 17.94 kB / 0.8362 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.1739, allocations: 34.73 kB / 0.8363 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.1742, allocations: 24.88 kB / 0.8363 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1744, allocations: 144.4 kB / 0.8364 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1744, allocations: 384 / 0.8364 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1744, allocations: 8.375 kB / 0.8364 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1746, allocations: 69.72 kB / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1746, allocations: 4 kB / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1746, allocations: 0 / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1746, allocations: 4 kB / 0.8365 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1748, allocations: 39.97 kB / 0.8366 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1752, allocations: 263.9 kB / 0.8368 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1753, allocations: 50.5 kB / 0.8369 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.1754, allocations: 40.95 kB / 0.8369 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1754, allocations: 0 / 0.8369 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1754, allocations: 34.56 kB / 0.8369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.1754, allocations: 0 / 0.8369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003436/0.1758, allocations: 101.6 kB / 0.837 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1758, allocations: 51.41 kB / 0.8371 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1759, allocations: 142 kB / 0.8372 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1759, allocations: 25.7 kB / 0.8372 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.176, allocations: 100.1 kB / 0.8373 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.176, allocations: 23.8 kB / 0.8374 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1761, allocations: 21.7 kB / 0.8374 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1762, allocations: 322.8 kB / 0.8377 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.1763, allocations: 23.98 kB / 0.8377 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.1764, allocations: 19.98 kB / 0.8377 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1765, allocations: 61.2 kB / 0.8378 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1765, allocations: 0 / 0.8378 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000212/0.1767, allocations: 93.56 kB / 0.8379 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1767, allocations: 4 kB / 0.8379 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.1767, allocations: 0 / 0.8379 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1767, allocations: 0 / 0.8379 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1768, allocations: 19.92 kB / 0.8379 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1768, allocations: 0 / 0.8379 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.1769, allocations: 7.984 kB / 0.8379 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1769, allocations: 3.984 kB / 0.8379 GB, free: 2.727 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 9.056e-05/0.177, allocations: 122.4 kB / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.177, allocations: 7.953 kB / 0.838 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.1773, allocations: 102 kB / 0.8381 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1773, allocations: 0 / 0.8381 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1773, allocations: 3.938 kB / 0.8381 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1773, allocations: 0 / 0.8381 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1775, allocations: 152.7 kB / 0.8383 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1775, allocations: 0 / 0.8383 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.1776, allocations: 15.98 kB / 0.8383 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1776, allocations: 4 kB / 0.8383 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1776, allocations: 0 / 0.8383 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1776, allocations: 3.984 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1776, allocations: 0 / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1778, allocations: 195.5 kB / 0.8385 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.1779, allocations: 11.95 kB / 0.8385 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1779, allocations: 0 / 0.8385 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.178, allocations: 7.984 kB / 0.8385 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.178, allocations: 4 kB / 0.8385 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.178, allocations: 19.86 kB / 0.8385 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.1781, allocations: 97.67 kB / 0.8386 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1781, allocations: 0 / 0.8386 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002367/0.1783, allocations: 27.94 kB / 0.8386 GB, free: 1.883 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * 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.0006147/0.1789, allocations: 0.728 MB / 0.8394 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1791, allocations: 55.91 kB / 0.8394 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1791, allocations: 0 / 0.8394 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.1792, allocations: 27.98 kB / 0.8394 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1795, allocations: 15.98 kB / 0.8395 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1811, allocations: 1.489 MB / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.841e-05/0.1812, allocations: 79.58 kB / 0.841 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.192e-05/0.1812, allocations: 4 kB / 0.841 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.1813, allocations: 27.42 kB / 0.841 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.1813, allocations: 0 / 0.841 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.2089, allocations: 2.939 MB / 0.8439 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.63, allocations: 7.25 kB / 0.8439 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.427951883990318] Failed to read output from testmodel.py, exit status != 0: 10.738212465308607 10.765204413 10.587149758 Calling exit ...