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.001185/0.001185, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001327/0.001327, allocations: 219.1 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.002699/0.002699, allocations: 274.5 kB / 313.5 MB, free: 2.797 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.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.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.002768/0.002768, allocations: 99 kB / 0.7403 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1648, allocations: 95.4 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1684/0.3332, allocations: 151.6 MB / 0.9815 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.3333, allocations: 55.84 kB / 0.9816 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3333, allocations: 0 / 0.9816 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.3335, allocations: 3.938 kB / 0.9816 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.3335, allocations: 15.98 kB / 0.9816 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/0.3344, allocations: 224.9 kB / 0.9818 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.887e-05/0.3345, allocations: 31.86 kB / 0.9819 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.3345, allocations: 4 kB / 0.9819 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.3345, allocations: 15.97 kB / 0.9819 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.3346, allocations: 19.92 kB / 0.9819 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3346, allocations: 0 / 0.9819 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3737/0.7083, allocations: 209.2 kB / 0.9821 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.7083, allocations: 11.36 kB / 0.9821 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.7084, allocations: 11.86 kB / 0.9821 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.7087, allocations: 116.3 kB / 0.9822 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7087, allocations: 0.5625 kB / 0.9822 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7087, allocations: 1.203 kB / 0.9822 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7087, allocations: 0.5312 kB / 0.9822 GB, free: 3.75 MB / 0.7169 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.0004044/0.7091, allocations: 268.6 kB / 0.9825 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7091, allocations: 12.36 kB / 0.9825 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.427e-05/0.7091, allocations: 0.9062 kB / 0.9825 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.7091, allocations: 32.92 kB / 0.9825 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.7094, allocations: 29.06 kB / 0.9826 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.266e-05/0.7095, allocations: 110.6 kB / 0.9827 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.7096, allocations: 57.69 kB / 0.9827 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.7096, allocations: 1.938 kB / 0.9827 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.7098, allocations: 52.8 kB / 0.9828 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.7098, allocations: 0.8125 kB / 0.9828 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.7098, allocations: 0 / 0.9828 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.7098, allocations: 7.234 kB / 0.9828 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.7098, allocations: 19.56 kB / 0.9828 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.7102, allocations: 234.3 kB / 0.983 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.7102, allocations: 30.16 kB / 0.9831 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.7102, allocations: 13.94 kB / 0.9831 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.7103, allocations: 13.53 kB / 0.9831 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.7104, allocations: 33.8 kB / 0.9831 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7104, allocations: 0 / 0.9831 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002283/0.7106, allocations: 51.19 kB / 0.9832 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.7106, allocations: 55.56 kB / 0.9832 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.7107, allocations: 106.7 kB / 0.9833 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.7107, allocations: 26.58 kB / 0.9833 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.7108, allocations: 87.11 kB / 0.9834 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.7108, allocations: 6.734 kB / 0.9834 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.7108, allocations: 18.14 kB / 0.9834 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.711, allocations: 313.9 kB / 0.9837 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.711, allocations: 8.125 kB / 0.9838 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.711, allocations: 22.2 kB / 0.9838 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.7111, allocations: 36.36 kB / 0.9838 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7111, allocations: 0.9375 kB / 0.9838 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.587e-05/0.7111, allocations: 59.94 kB / 0.9839 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7112, allocations: 5.766 kB / 0.9839 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7112, allocations: 1.781 kB / 0.9839 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7112, allocations: 0.9062 kB / 0.9839 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.7112, allocations: 8.156 kB / 0.9839 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7112, allocations: 2.375 kB / 0.9839 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.7113, allocations: 4.812 kB / 0.9839 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.7113, allocations: 3.375 kB / 0.9839 GB, free: 18.19 MB / 0.7325 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 9.793e-05/0.7114, allocations: 113.5 kB / 0.984 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.7114, allocations: 1.656 kB / 0.984 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.7114, allocations: 6.203 kB / 0.984 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7114, allocations: 1 kB / 0.984 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.7114, allocations: 1.031 kB / 0.984 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7114, allocations: 8.812 kB / 0.984 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.7117, allocations: 345.4 kB / 0.9843 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7117, allocations: 4.719 kB / 0.9844 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.7117, allocations: 4.516 kB / 0.9844 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7117, allocations: 4.875 kB / 0.9844 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.7117, allocations: 0.9062 kB / 0.9844 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7117, allocations: 2.375 kB / 0.9844 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7117, allocations: 4.719 kB / 0.9844 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.974e-05/0.7118, allocations: 67.89 kB / 0.9844 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.7118, allocations: 6.734 kB / 0.9844 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.7118, allocations: 5.359 kB / 0.9844 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.7119, allocations: 9.359 kB / 0.9845 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.7119, allocations: 2.125 kB / 0.9845 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.7119, allocations: 1.906 kB / 0.9845 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.712, allocations: 81.83 kB / 0.9845 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.712, allocations: 1.75 kB / 0.9845 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001881/0.7122, allocations: 6 kB / 0.9845 GB, free: 17.56 MB / 0.7325 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.0003928/0.7125, allocations: 0.6102 MB / 0.9851 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.827e-05/0.7126, allocations: 18.84 kB / 0.9852 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7126, allocations: 1.875 kB / 0.9852 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.7126, allocations: 4.391 kB / 0.9852 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.7129, allocations: 8.469 kB / 0.9852 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.7132, allocations: 147 kB / 0.9853 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.7136, allocations: 0.6806 MB / 0.986 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.838e-05/0.7136, allocations: 9.172 kB / 0.986 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.7136, allocations: 10.5 kB / 0.986 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7136, allocations: 0 / 0.986 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.7349, allocations: 1.605 MB / 0.9876 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.2, allocations: 17.28 kB / 0.9876 GB, free: 15.75 MB / 0.7325 GB " [Timeout remaining time 649] (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: 15.198983694950584] Failed to read output from testmodel.py, exit status != 0: 11.3526960190502 11.370925538 10.658832407 Calling exit ...