Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001182/0.001182, allocations: 101.5 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.001509/0.001509, allocations: 214.4 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.002468/0.002468, allocations: 299.7 kB / 313.5 MB, free: 2.789 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.261/1.261, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.002742/0.002742, allocations: 94.67 kB / 0.7403 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1725, allocations: 95.39 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006083/0.1786, allocations: 3.831 MB / 0.8372 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.1788, allocations: 167.5 kB / 0.8374 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.1788, allocations: 3.938 kB / 0.8374 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.1789, allocations: 7.938 kB / 0.8374 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.149e-05/0.179, allocations: 7.922 kB / 0.8374 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1794, allocations: 91.73 kB / 0.8375 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1795, allocations: 35.84 kB / 0.8375 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.1796, allocations: 4 kB / 0.8375 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.1796, allocations: 23.91 kB / 0.8375 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.1797, allocations: 4 kB / 0.8375 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1797, allocations: 0 / 0.8375 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.1804, allocations: 239.6 kB / 0.8378 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.1805, allocations: 11.97 kB / 0.8378 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1805, allocations: 11.94 kB / 0.8378 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1807, allocations: 63.8 kB / 0.8379 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1807, allocations: 0 / 0.8379 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1807, allocations: 4 kB / 0.8379 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.1807, allocations: 0 / 0.8379 GB, free: 4.113 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004115/0.1811, allocations: 255 kB / 0.8381 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1812, allocations: 13.94 kB / 0.8381 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.414e-05/0.1812, allocations: 4.125 kB / 0.8381 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1812, allocations: 34.75 kB / 0.8382 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1812, allocations: 4.938 kB / 0.8382 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1814, allocations: 114.4 kB / 0.8383 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.1814, allocations: 59.95 kB / 0.8383 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1814, allocations: 7.938 kB / 0.8383 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1816, allocations: 41.69 kB / 0.8384 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1816, allocations: 3.938 kB / 0.8384 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1816, allocations: 0 / 0.8384 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.1816, allocations: 0 / 0.8384 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.1817, allocations: 15.98 kB / 0.8384 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.1821, allocations: 228 kB / 0.8386 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.1822, allocations: 22.58 kB / 0.8386 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.1822, allocations: 8.922 kB / 0.8386 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.1822, allocations: 4 kB / 0.8386 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1822, allocations: 34.5 kB / 0.8387 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1822, allocations: 0 / 0.8387 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.1824, allocations: 37.69 kB / 0.8387 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.1824, allocations: 55.53 kB / 0.8388 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.1825, allocations: 101.8 kB / 0.8389 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1825, allocations: 29.7 kB / 0.8389 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.1826, allocations: 84.09 kB / 0.839 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.1826, allocations: 7.953 kB / 0.839 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1826, allocations: 17.66 kB / 0.839 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1827, allocations: 314.8 kB / 0.8393 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.1828, allocations: 11.98 kB / 0.8393 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.1828, allocations: 21.66 kB / 0.8393 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.1828, allocations: 17.72 kB / 0.8393 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1828, allocations: 4 kB / 0.8394 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.801e-05/0.1829, allocations: 45.62 kB / 0.8394 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1829, allocations: 4 kB / 0.8394 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1829, allocations: 0 / 0.8394 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1829, allocations: 8.062 kB / 0.8394 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.183, allocations: 11.98 kB / 0.8394 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.183, allocations: 0 / 0.8394 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.183, allocations: 0 / 0.8394 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.183, allocations: 11.88 kB / 0.8394 GB, free: 2.297 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 (3): * Single equations (assignments): 3 * 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 7.396e-05/0.1831, allocations: 106.5 kB / 0.8395 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.1831, allocations: 0 / 0.8395 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.1832, allocations: 128.9 kB / 0.8397 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.29e-05/0.1833, allocations: 180.5 kB / 0.8398 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.461e-05/0.1834, allocations: 180.2 kB / 0.84 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.282e-05/0.1834, allocations: 180.3 kB / 0.8402 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.1837, allocations: 388.2 kB / 0.8405 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/0.1837, allocations: 108.9 kB / 0.8406 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.1838, allocations: 105 kB / 0.8407 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.672e-05/0.1839, allocations: 188.2 kB / 0.8409 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.1839, allocations: 176.3 kB / 0.8411 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.385e-05/0.184, allocations: 180.3 kB / 0.8413 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-05/0.1841, allocations: 180.2 kB / 0.8414 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1842, allocations: 311.7 kB / 0.8417 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1843, allocations: 109 kB / 0.8418 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.1844, allocations: 180.2 kB / 0.842 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1845, allocations: 112.9 kB / 0.8421 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.1846, allocations: 180.3 kB / 0.8423 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.1847, allocations: 104.9 kB / 0.8424 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.1847, allocations: 91.22 kB / 0.8425 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1847, allocations: 0 / 0.8425 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002469/0.185, allocations: 15.98 kB / 0.8425 GB, free: 14.97 MB / 0.5919 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 (0): * Single equations (assignments): 0 * 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.0005154/0.1855, allocations: 0.8204 MB / 0.8433 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.699e-05/0.1856, allocations: 15.92 kB / 0.8433 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1856, allocations: 0 / 0.8433 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1856, allocations: 0 / 0.8433 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.186, allocations: 467.6 kB / 0.8438 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1872, allocations: 1.325 MB / 0.845 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1875, allocations: 0.6768 MB / 0.8457 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.1876, allocations: 5.375 kB / 0.8457 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.1876, allocations: 15.38 kB / 0.8457 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.1876, allocations: 4 kB / 0.8457 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.2092, allocations: 1.634 MB / 0.8473 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.64, allocations: 20.77 kB / 0.8473 GB, free: 10.02 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.80706822098] Failed to read output from testmodel.py, exit status != 0: 10.802018332004081 10.822270099 10.63875952 Calling exit ...