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.001442/0.001442, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001489/0.001489, allocations: 216 kB / 22.25 MB, free: 5.082 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 8.008 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.002411/0.002411, allocations: 279.9 kB / 312.7 MB, free: 2.816 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.134/1.134, allocations: 180.6 MB / 0.5369 GB, free: 13.08 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.002746/0.002746, allocations: 110.9 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1652, allocations: 95.38 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003234/0.1685, allocations: 2.152 MB / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1702, allocations: 1.099 MB / 0.8359 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1703, allocations: 7.938 kB / 0.8359 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.1703, allocations: 23.67 kB / 0.8359 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1706, allocations: 83.2 kB / 0.836 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.171, allocations: 191.6 kB / 0.8362 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.1714, allocations: 294.7 kB / 0.8365 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1715, allocations: 49.12 kB / 0.8365 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1716, allocations: 111.6 kB / 0.8366 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.1719, allocations: 143.4 kB / 0.8368 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.1719, allocations: 20 kB / 0.8368 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.1723, allocations: 295.7 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.1724, allocations: 51.77 kB / 0.8371 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1725, allocations: 115.3 kB / 0.8372 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.1729, allocations: 342.5 kB / 0.8376 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1729, allocations: 0 / 0.8376 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1729, allocations: 0 / 0.8376 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1729, allocations: 0 / 0.8376 GB, free: 3.715 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.001035/0.1739, allocations: 0.5554 MB / 0.8381 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.174, allocations: 13.34 kB / 0.8381 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.174, allocations: 46.73 kB / 0.8382 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.1742, allocations: 44.73 kB / 0.8382 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1746, allocations: 217.5 kB / 0.8384 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1746, allocations: 16.66 kB / 0.8384 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1746, allocations: 12.38 kB / 0.8384 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.1751, allocations: 240.6 kB / 0.8387 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1751, allocations: 0 / 0.8387 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.1751, allocations: 11.98 kB / 0.8387 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1751, allocations: 4 kB / 0.8387 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.1757, allocations: 201.2 kB / 0.8389 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1769, allocations: 0.9102 MB / 0.8398 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.1776, allocations: 233.2 kB / 0.84 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.1779, allocations: 105.6 kB / 0.8401 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1779, allocations: 4 kB / 0.8401 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.178, allocations: 34.5 kB / 0.8401 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.178, allocations: 3.938 kB / 0.8401 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001048/0.179, allocations: 341.6 kB / 0.8405 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.1791, allocations: 85.05 kB / 0.8405 GB, free: 480 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1793, allocations: 268.2 kB / 0.8408 GB, free: 208 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1793, allocations: 29.7 kB / 0.8408 GB, free: 172 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1795, allocations: 156.3 kB / 0.841 GB, free: 8 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.1795, allocations: 63.62 kB / 0.841 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.1796, allocations: 41.7 kB / 0.8411 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1797, allocations: 334.8 kB / 0.8414 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.18, allocations: 95.91 kB / 0.8415 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.1804, allocations: 144.4 kB / 0.8416 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.181, allocations: 237.7 kB / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.181, allocations: 0 / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007626/0.1818, allocations: 297.1 kB / 0.8421 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1818, allocations: 10.19 kB / 0.8421 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1818, allocations: 0 / 0.8421 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1818, allocations: 4 kB / 0.8421 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.1821, allocations: 72.09 kB / 0.8422 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1821, allocations: 3.938 kB / 0.8422 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1823, allocations: 39.86 kB / 0.8423 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1823, allocations: 4 kB / 0.8423 GB, free: 14.62 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.0001242/0.1825, allocations: 130.4 kB / 0.8424 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1826, allocations: 35.75 kB / 0.8424 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/0.1833, allocations: 291.9 kB / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1833, allocations: 0 / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1833, allocations: 0 / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1833, allocations: 15.92 kB / 0.8427 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.1837, allocations: 264.5 kB / 0.843 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1837, allocations: 0 / 0.843 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1839, allocations: 59.89 kB / 0.843 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1839, allocations: 0 / 0.843 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.184, allocations: 0 / 0.843 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.184, allocations: 4 kB / 0.843 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.184, allocations: 0 / 0.843 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.1847, allocations: 446.3 kB / 0.8435 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1848, allocations: 31.75 kB / 0.8435 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1848, allocations: 8 kB / 0.8435 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1851, allocations: 23.95 kB / 0.8435 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.1851, allocations: 19.97 kB / 0.8435 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1851, allocations: 8 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001715/0.1853, allocations: 187.1 kB / 0.8437 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1853, allocations: 0 / 0.8437 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003249/0.1856, allocations: 63.89 kB / 0.8438 GB, free: 12.99 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.001134/0.1868, allocations: 0.9913 MB / 0.8447 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006776/0.1875, allocations: 224.1 kB / 0.845 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1875, allocations: 0 / 0.845 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.1878, allocations: 115.8 kB / 0.8451 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1883, allocations: 77.62 kB / 0.8451 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.1921, allocations: 2.712 MB / 0.8478 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.1925, allocations: 0.7598 MB / 0.8485 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.1926, allocations: 34.27 kB / 0.8486 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1928, allocations: 87.41 kB / 0.8487 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1928, allocations: 0 / 0.8487 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.2269, allocations: 6.793 MB / 0.8553 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.02, allocations: 9.375 kB / 0.8553 GB, free: 1.238 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 sys.exit(0), Time elapsed: 14.879418672062457] Failed to read output from testmodel.py, exit status != 0: 11.118862859206274 11.135493099 10.959359345 Calling exit ...