Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.00121/0.00121, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00142/0.00142, allocations: 216.6 kB / 23.03 MB, free: 4.949 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.002415/0.002415, allocations: 289 kB / 313.5 MB, free: 2.605 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.199/1.199, allocations: 180.6 MB / 0.5377 GB, free: 14.53 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.002717/0.002717, allocations: 96.52 kB / 0.7402 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1754, allocations: 95.39 MB / 0.8334 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1546/0.33, allocations: 129.9 MB / 0.9602 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.3301, allocations: 55.8 kB / 0.9603 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.3301, allocations: 0 / 0.9603 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.3302, allocations: 3.938 kB / 0.9603 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.3303, allocations: 15.92 kB / 0.9603 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.3308, allocations: 105.5 kB / 0.9604 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.3308, allocations: 35.84 kB / 0.9604 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.3309, allocations: 4 kB / 0.9604 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.3309, allocations: 23.91 kB / 0.9605 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.331, allocations: 11.98 kB / 0.9605 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.331, allocations: 0 / 0.9605 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.3312, allocations: 75.73 kB / 0.9605 GB, free: 5.621 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.3313, allocations: 11.98 kB / 0.9606 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.3313, allocations: 7.938 kB / 0.9606 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3315, allocations: 68.08 kB / 0.9606 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3315, allocations: 4 kB / 0.9606 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3315, allocations: 4 kB / 0.9606 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3315, allocations: 0 / 0.9606 GB, free: 5.527 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.0004301/0.3319, allocations: 267.6 kB / 0.9609 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3319, allocations: 12.75 kB / 0.9609 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.332, allocations: 4.125 kB / 0.9609 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.332, allocations: 30.75 kB / 0.9609 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.3322, allocations: 16.92 kB / 0.961 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3323, allocations: 118.1 kB / 0.9611 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/0.3324, allocations: 51.41 kB / 0.9611 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.3324, allocations: 0 / 0.9611 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3326, allocations: 75.38 kB / 0.9612 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3326, allocations: 0 / 0.9612 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3326, allocations: 0 / 0.9612 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.3326, allocations: 4 kB / 0.9612 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.694e-05/0.3327, allocations: 23.91 kB / 0.9612 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.3331, allocations: 228 kB / 0.9614 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/0.3331, allocations: 22.58 kB / 0.9615 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.3331, allocations: 4.906 kB / 0.9615 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.3331, allocations: 3.984 kB / 0.9615 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3332, allocations: 34.62 kB / 0.9615 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3332, allocations: 0 / 0.9615 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.3333, allocations: 37.58 kB / 0.9615 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3333, allocations: 51.41 kB / 0.9616 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.3334, allocations: 105.8 kB / 0.9617 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3334, allocations: 29.7 kB / 0.9617 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3335, allocations: 96.17 kB / 0.9618 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.3335, allocations: 3.938 kB / 0.9618 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.3335, allocations: 25.61 kB / 0.9618 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3337, allocations: 322.8 kB / 0.9621 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.3337, allocations: 0 / 0.9621 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.3337, allocations: 26.58 kB / 0.9622 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.3338, allocations: 34.5 kB / 0.9622 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3338, allocations: 0 / 0.9622 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.609e-05/0.3339, allocations: 57.62 kB / 0.9622 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3339, allocations: 6.5 kB / 0.9623 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3339, allocations: 4 kB / 0.9623 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3339, allocations: 3.938 kB / 0.9623 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.615e-05/0.3339, allocations: 4 kB / 0.9623 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.334, allocations: 4 kB / 0.9623 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.436e-05/0.334, allocations: 0 / 0.9623 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-06/0.334, allocations: 0 / 0.9623 GB, free: 3.629 MB / 0.7012 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 8.492e-05/0.3341, allocations: 114.4 kB / 0.9624 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3341, allocations: 8.094 kB / 0.9624 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.3341, allocations: 11.14 kB / 0.9624 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3341, allocations: 3.938 kB / 0.9624 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3341, allocations: 256 / 0.9624 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3341, allocations: 0 / 0.9624 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.3344, allocations: 317.8 kB / 0.9627 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3344, allocations: 3.938 kB / 0.9627 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.3344, allocations: 4 kB / 0.9627 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3344, allocations: 0 / 0.9627 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3344, allocations: 0 / 0.9627 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3344, allocations: 0 / 0.9627 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3344, allocations: 4.031 kB / 0.9627 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.3346, allocations: 65.06 kB / 0.9628 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.3346, allocations: 7.938 kB / 0.9628 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3346, allocations: 0 / 0.9628 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.3347, allocations: 0 / 0.9628 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.3347, allocations: 7.984 kB / 0.9628 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.3347, allocations: 0 / 0.9628 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.3347, allocations: 83.28 kB / 0.9629 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.3347, allocations: 0 / 0.9629 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001862/0.3349, allocations: 8 kB / 0.9629 GB, free: 2.922 MB / 0.7012 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 (1): * Single equations (assignments): 1 * 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.0003716/0.3353, allocations: 0.6007 MB / 0.9635 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.662e-05/0.3354, allocations: 11.94 kB / 0.9635 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3354, allocations: 0 / 0.9635 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-06/0.3354, allocations: 7.938 kB / 0.9635 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3356, allocations: 14.55 kB / 0.9635 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.336, allocations: 140.8 kB / 0.9636 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.336, allocations: 67.28 kB / 0.9637 GB, free: 2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.3361, allocations: 12.08 kB / 0.9637 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.3361, allocations: 7.438 kB / 0.9637 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of SimCode: time 2.5e-07/0.3361, allocations: 0 / 0.9637 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.3571, allocations: 1.586 MB / 0.9653 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.04, allocations: 4.766 kB / 0.9653 GB, free: 0.5742 MB / 0.7012 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.039809916052036] Failed to read output from testmodel.py, exit status != 0: 11.19061926798895 11.206070199000001 10.871667511 Calling exit ...