Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001418/0.001418, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.00163/0.00163, allocations: 219 kB / 23.04 MB, free: 5.074 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.002399/0.002399, allocations: 292 kB / 313.5 MB, free: 2.809 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.151/1.151, allocations: 180.6 MB / 0.5377 GB, free: 12.89 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.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",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.00268/0.00268, allocations: 98.39 kB / 0.7404 GB, free: 28.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1656, allocations: 95.38 MB / 0.8335 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003319/0.1689, allocations: 2.163 MB / 0.8356 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1706, allocations: 1.084 MB / 0.8367 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1708, allocations: 15.81 kB / 0.8367 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.496e-05/0.1708, allocations: 19.73 kB / 0.8367 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.1711, allocations: 83.22 kB / 0.8368 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.1715, allocations: 200.5 kB / 0.837 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.1719, allocations: 290.9 kB / 0.8373 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.172, allocations: 45.12 kB / 0.8373 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1722, allocations: 115.5 kB / 0.8374 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1724, allocations: 147.4 kB / 0.8376 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.1724, allocations: 20 kB / 0.8376 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.1729, allocations: 295.6 kB / 0.8379 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.1729, allocations: 51.72 kB / 0.8379 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.173, allocations: 119.3 kB / 0.838 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.1735, allocations: 334.5 kB / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1735, allocations: 0 / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1735, allocations: 0 / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.1735, allocations: 0 / 0.8383 GB, free: 3.656 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001098/0.1746, allocations: 0.5515 MB / 0.8389 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1746, allocations: 13.34 kB / 0.8389 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.291e-05/0.1746, allocations: 12.45 kB / 0.8389 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.1747, allocations: 46.69 kB / 0.8389 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.1749, allocations: 40.73 kB / 0.839 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.1753, allocations: 217.5 kB / 0.8392 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.1753, allocations: 20.59 kB / 0.8392 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1753, allocations: 12.38 kB / 0.8392 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.1759, allocations: 232.5 kB / 0.8394 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1759, allocations: 3.938 kB / 0.8394 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1759, allocations: 12 kB / 0.8395 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1759, allocations: 7.938 kB / 0.8395 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.1766, allocations: 195.8 kB / 0.8397 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1778, allocations: 0.9102 MB / 0.8405 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007853/0.1786, allocations: 233.1 kB / 0.8408 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.1789, allocations: 101.9 kB / 0.8409 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1789, allocations: 7.984 kB / 0.8409 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.179, allocations: 34.56 kB / 0.8409 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.179, allocations: 0 / 0.8409 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001198/0.1802, allocations: 341.2 kB / 0.8412 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1802, allocations: 77.11 kB / 0.8413 GB, free: 428 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.1805, allocations: 272.2 kB / 0.8416 GB, free: 152 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1806, allocations: 25.7 kB / 0.8416 GB, free: 120 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.1807, allocations: 160.4 kB / 0.8417 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.1807, allocations: 55.48 kB / 0.8418 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.1808, allocations: 49.64 kB / 0.8418 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.181, allocations: 334.8 kB / 0.8422 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.1813, allocations: 91.91 kB / 0.8422 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.1817, allocations: 142.7 kB / 0.8424 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006649/0.1823, allocations: 237.8 kB / 0.8426 GB, free: 15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1823, allocations: 4 kB / 0.8426 GB, free: 15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008578/0.1832, allocations: 297 kB / 0.8429 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1832, allocations: 8 kB / 0.8429 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1832, allocations: 4.156 kB / 0.8429 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1832, allocations: 4 kB / 0.8429 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1835, allocations: 67.88 kB / 0.843 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1835, allocations: 0 / 0.843 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.1838, allocations: 35.86 kB / 0.843 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1838, allocations: 16.69 kB / 0.843 GB, free: 14.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001419/0.1839, allocations: 146.3 kB / 0.8432 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.184, allocations: 27.81 kB / 0.8432 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008722/0.1849, allocations: 295.2 kB / 0.8435 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1849, allocations: 0 / 0.8435 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1849, allocations: 4 kB / 0.8435 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1849, allocations: 0 / 0.8435 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.1853, allocations: 268.4 kB / 0.8437 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1853, allocations: 0 / 0.8437 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.1856, allocations: 55.95 kB / 0.8438 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1856, allocations: 3.984 kB / 0.8438 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1856, allocations: 4 kB / 0.8438 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1856, allocations: 4 kB / 0.8438 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1856, allocations: 3.938 kB / 0.8438 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.1865, allocations: 437.2 kB / 0.8442 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1865, allocations: 39.72 kB / 0.8443 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.1866, allocations: 4 kB / 0.8443 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.1868, allocations: 23.97 kB / 0.8443 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.1869, allocations: 19.97 kB / 0.8443 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1869, allocations: 8 kB / 0.8443 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001888/0.1871, allocations: 191.1 kB / 0.8445 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1871, allocations: 0 / 0.8445 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003493/0.1874, allocations: 63.89 kB / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (20): * Single equations (assignments): 20 * 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.001276/0.1887, allocations: 0.9886 MB / 0.8455 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007487/0.1895, allocations: 219.7 kB / 0.8457 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1895, allocations: 0 / 0.8457 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.1898, allocations: 108.6 kB / 0.8458 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.1904, allocations: 73.06 kB / 0.8459 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.1946, allocations: 2.724 MB / 0.8486 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.195, allocations: 0.7559 MB / 0.8493 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.1951, allocations: 34.42 kB / 0.8493 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.1953, allocations: 83.41 kB / 0.8494 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.1953, allocations: 0 / 0.8494 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.2241, allocations: 6.837 MB / 0.8561 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.08, allocations: 15.19 kB / 0.8561 GB, free: 1.16 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.022020915988833] Failed to read output from testmodel.py, exit status != 0: 11.246882104955148 11.26212333 11.08572642 Calling exit ...