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.001469/0.001469, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001705/0.001705, allocations: 218.8 kB / 23.01 MB, free: 4.609 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.002428/0.002428, allocations: 277.5 kB / 313.5 MB, free: 2.859 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.176/1.176, allocations: 180.6 MB / 0.5377 GB, free: 13.11 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: translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [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.002796/0.002796, allocations: 106.9 kB / 0.7408 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1617, allocations: 95.37 MB / 0.8339 GB, free: 8.191 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5436/0.7053, allocations: 151.6 MB / 0.982 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.7054, allocations: 56.08 kB / 0.982 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.7055, allocations: 0 / 0.982 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.711e-05/0.7056, allocations: 4.281 kB / 0.9821 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.7056, allocations: 13.92 kB / 0.9821 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.7063, allocations: 225 kB / 0.9823 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.7064, allocations: 35.38 kB / 0.9823 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.7065, allocations: 5.516 kB / 0.9823 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.7065, allocations: 13.44 kB / 0.9823 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.7066, allocations: 16.06 kB / 0.9823 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.7066, allocations: 0.9062 kB / 0.9823 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.707, allocations: 219.7 kB / 0.9826 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.707, allocations: 5.969 kB / 0.9826 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.707, allocations: 16.44 kB / 0.9826 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.7073, allocations: 112.2 kB / 0.9827 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7073, allocations: 1.688 kB / 0.9827 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7073, allocations: 0 / 0.9827 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7073, allocations: 0 / 0.9827 GB, free: 3.875 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.0004321/0.7077, allocations: 271.3 kB / 0.9829 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.7077, allocations: 10.75 kB / 0.983 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/0.708, allocations: 27.23 kB / 0.983 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.7081, allocations: 109.6 kB / 0.9831 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.7082, allocations: 55.17 kB / 0.9831 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.7082, allocations: 6.094 kB / 0.9831 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.7083, allocations: 50.22 kB / 0.9832 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.7083, allocations: 3.188 kB / 0.9832 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.7084, allocations: 6.906 kB / 0.9832 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.7084, allocations: 3.688 kB / 0.9832 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.7084, allocations: 20.22 kB / 0.9832 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.7087, allocations: 228.8 kB / 0.9834 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.267e-05/0.7088, allocations: 22.58 kB / 0.9835 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.7088, allocations: 9.453 kB / 0.9835 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.7089, allocations: 20.02 kB / 0.9835 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.7089, allocations: 34.03 kB / 0.9835 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7089, allocations: 1.125 kB / 0.9835 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002422/0.7092, allocations: 50.98 kB / 0.9836 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.7092, allocations: 53.64 kB / 0.9836 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.7093, allocations: 102.8 kB / 0.9837 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.7093, allocations: 26.55 kB / 0.9838 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.7094, allocations: 90.59 kB / 0.9838 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.7094, allocations: 14.28 kB / 0.9839 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.7094, allocations: 15.28 kB / 0.9839 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7095, allocations: 320.5 kB / 0.9842 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.7096, allocations: 4.484 kB / 0.9842 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.7096, allocations: 28.45 kB / 0.9842 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.7096, allocations: 30.3 kB / 0.9842 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7096, allocations: 1.031 kB / 0.9842 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.526e-05/0.7097, allocations: 60.45 kB / 0.9843 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7097, allocations: 7.516 kB / 0.9843 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7097, allocations: 1.094 kB / 0.9843 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7097, allocations: 0.9062 kB / 0.9843 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.7098, allocations: 7.156 kB / 0.9843 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7098, allocations: 1.969 kB / 0.9843 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.7098, allocations: 1.5 kB / 0.9843 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.7098, allocations: 7.031 kB / 0.9843 GB, free: 18.35 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 7.956e-05/0.7099, allocations: 114.1 kB / 0.9844 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.7099, allocations: 3.312 kB / 0.9844 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.71, allocations: 15.84 kB / 0.9844 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.71, allocations: 1.375 kB / 0.9844 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.71, allocations: 0 / 0.9844 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.71, allocations: 1.875 kB / 0.9844 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.7102, allocations: 338.4 kB / 0.9848 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7103, allocations: 1.422 kB / 0.9848 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.7103, allocations: 7.719 kB / 0.9848 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7103, allocations: 1.609 kB / 0.9848 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.7103, allocations: 4.812 kB / 0.9848 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.7103, allocations: 1.969 kB / 0.9848 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7103, allocations: 1.531 kB / 0.9848 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.925e-05/0.7104, allocations: 71.55 kB / 0.9849 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.7104, allocations: 7.344 kB / 0.9849 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.7104, allocations: 5.625 kB / 0.9849 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.7105, allocations: 7.141 kB / 0.9849 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.7105, allocations: 2.312 kB / 0.9849 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.7105, allocations: 1.75 kB / 0.9849 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.247e-05/0.7105, allocations: 80.11 kB / 0.985 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7105, allocations: 0.9375 kB / 0.985 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001884/0.7107, allocations: 9.75 kB / 0.985 GB, free: 17.73 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.0001176/0.7108, allocations: 99.44 kB / 0.9851 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.7109, allocations: 18.67 kB / 0.9851 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7109, allocations: 1.906 kB / 0.9851 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.7109, allocations: 7.75 kB / 0.9851 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.7111, allocations: 7.484 kB / 0.9851 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.7114, allocations: 152.7 kB / 0.9852 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.7117, allocations: 0.679 MB / 0.9859 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.7117, allocations: 10.97 kB / 0.9859 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7117, allocations: 0 / 0.9859 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.002142/0.7138, allocations: 0.6192 MB / 0.9865 GB, free: 16.78 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.463286264101043] Failed to read output from testmodel.py, exit status != 0: 0.7206065419595689 0.732873238 0.02257357 Calling exit ...