Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.001376/0.001376, allocations: 120 kB / 17.17 MB, free: 5.977 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.001506/0.001506, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.00233/0.00233, allocations: 285.4 kB / 309.8 MB, free: 3.449 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.041/1.041, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.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.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",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.002853/0.002853, allocations: 97.58 kB / 0.7346 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4926, allocations: 95.34 MB / 0.8277 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1865/0.679, allocations: 151.6 MB / 0.9758 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001478/0.6792, allocations: 51.86 kB / 0.9758 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.6792, allocations: 4 kB / 0.9759 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.6793, allocations: 0 / 0.9759 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.6794, allocations: 19.91 kB / 0.9759 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.6801, allocations: 211.2 kB / 0.9761 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.514e-05/0.6802, allocations: 31.91 kB / 0.9761 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.6802, allocations: 8 kB / 0.9761 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.6803, allocations: 19.92 kB / 0.9761 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.6803, allocations: 19.91 kB / 0.9761 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.6804, allocations: 0 / 0.9761 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.6808, allocations: 207.4 kB / 0.9763 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.6808, allocations: 7.984 kB / 0.9764 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.6809, allocations: 19.86 kB / 0.9764 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.6811, allocations: 110.4 kB / 0.9765 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6811, allocations: 0 / 0.9765 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6811, allocations: 0 / 0.9765 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.6811, allocations: 4 kB / 0.9765 GB, free: 1.367 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004317/0.6815, allocations: 341.1 kB / 0.9768 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.6816, allocations: 12.03 kB / 0.9768 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.238e-05/0.6816, allocations: 4.188 kB / 0.9768 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.6816, allocations: 34.73 kB / 0.9769 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.6819, allocations: 24.91 kB / 0.9769 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.6821, allocations: 175.8 kB / 0.977 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.6821, allocations: 37.69 kB / 0.9771 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.6821, allocations: 0 / 0.9771 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.6823, allocations: 45.69 kB / 0.9771 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6823, allocations: 0 / 0.9771 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.6823, allocations: 0 / 0.9771 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.6823, allocations: 7.984 kB / 0.9771 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.6824, allocations: 23.92 kB / 0.9772 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.6828, allocations: 260.9 kB / 0.9774 GB, free: 272 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.6828, allocations: 30.5 kB / 0.9774 GB, free: 232 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.6828, allocations: 8.922 kB / 0.9774 GB, free: 220 kB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.683, allocations: 89.09 kB / 0.9775 GB, free: 112 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.683, allocations: 34.56 kB / 0.9776 GB, free: 68 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.683, allocations: 4 kB / 0.9776 GB, free: 64 kB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002342/0.6833, allocations: 49.69 kB / 0.9776 GB, free: 8 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.6833, allocations: 59.28 kB / 0.9777 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.6834, allocations: 97.86 kB / 0.9778 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.6834, allocations: 29.69 kB / 0.9778 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.6835, allocations: 92.03 kB / 0.9779 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.6835, allocations: 3.953 kB / 0.9779 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.6835, allocations: 21.84 kB / 0.9779 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6836, allocations: 314.8 kB / 0.9782 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.6837, allocations: 3.984 kB / 0.9782 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.6837, allocations: 22.58 kB / 0.9782 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.6837, allocations: 38.52 kB / 0.9783 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6837, allocations: 0 / 0.9783 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.896e-05/0.6838, allocations: 57.58 kB / 0.9783 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.6838, allocations: 4 kB / 0.9783 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6838, allocations: 0 / 0.9783 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6838, allocations: 4 kB / 0.9783 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.6839, allocations: 11.92 kB / 0.9783 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.6839, allocations: 3.984 kB / 0.9783 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.6839, allocations: 4 kB / 0.9783 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.684, allocations: 4.094 kB / 0.9783 GB, free: 15.18 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.687e-05/0.684, allocations: 109.8 kB / 0.9785 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.6841, allocations: 4 kB / 0.9785 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.611e-05/0.6841, allocations: 3.125 kB / 0.9785 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6841, allocations: 7.938 kB / 0.9785 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6841, allocations: 4 kB / 0.9785 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6841, allocations: 0 / 0.9785 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.6844, allocations: 367.5 kB / 0.9788 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.6844, allocations: 3.938 kB / 0.9788 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.6844, allocations: 4 kB / 0.9788 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6844, allocations: 288 / 0.9788 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.6844, allocations: 3.984 kB / 0.9788 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6845, allocations: 7.938 kB / 0.9788 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6845, allocations: 0 / 0.9788 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.15e-05/0.6845, allocations: 70.02 kB / 0.9789 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.6846, allocations: 89.03 kB / 0.979 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.6846, allocations: 7.922 kB / 0.979 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.6847, allocations: 4 kB / 0.979 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.6847, allocations: 4 kB / 0.979 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.6847, allocations: 0 / 0.979 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.6848, allocations: 83.27 kB / 0.9791 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6848, allocations: 3.938 kB / 0.9791 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002577/0.685, allocations: 12.03 kB / 0.9791 GB, free: 14.3 MB / 0.7169 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 (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.0004198/0.6854, allocations: 0.6093 MB / 0.9797 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.247e-05/0.6855, allocations: 15.97 kB / 0.9797 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6855, allocations: 0 / 0.9797 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.6855, allocations: 8 kB / 0.9797 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.6858, allocations: 4 kB / 0.9797 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.6862, allocations: 157.3 kB / 0.9799 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6865, allocations: 0.6807 MB / 0.9805 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.6865, allocations: 4 kB / 0.9805 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.6865, allocations: 7.438 kB / 0.9806 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6865, allocations: 0 / 0.9806 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.7032, allocations: 1.517 MB / 0.982 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/8.547, allocations: 4.656 kB / 0.982 GB, free: 11.33 MB / 0.7169 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.329260651022196] Failed to read output from testmodel.py, exit status != 0: 8.667139977042098 8.680696288 7.996850202 Calling exit ...