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.001786/0.001786, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002253/0.002253, allocations: 173.6 kB / 22.76 MB, free: 1.66 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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.003267/0.003267, allocations: 246 kB / 259.8 MB, free: 12.86 MB / 250.7 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.263/1.263, allocations: 138.4 MB / 454.7 MB, free: 1.484 MB / 362.7 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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.55e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4221/0.4222, allocations: 143.8 MB / 0.6948 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.4223, allocations: 57.77 kB / 0.6948 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.4223, allocations: 4 kB / 0.6948 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.4224, allocations: 3.938 kB / 0.6948 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.4225, allocations: 15.91 kB / 0.6948 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.4232, allocations: 203.4 kB / 0.695 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.992e-05/0.4233, allocations: 39.84 kB / 0.6951 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.4233, allocations: 7.984 kB / 0.6951 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.4234, allocations: 23.91 kB / 0.6951 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.4234, allocations: 4 kB / 0.6951 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.4234, allocations: 4 kB / 0.6951 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.4237, allocations: 163.4 kB / 0.6953 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.4238, allocations: 11.97 kB / 0.6953 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.4238, allocations: 8 kB / 0.6953 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.4241, allocations: 115.6 kB / 0.6954 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4241, allocations: 4 kB / 0.6954 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4241, allocations: 0 / 0.6954 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.4241, allocations: 4 kB / 0.6954 GB, free: 12.51 MB / 0.5105 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.000341/0.4244, allocations: 367 kB / 0.6958 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4244, allocations: 12.73 kB / 0.6958 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.4248, allocations: 32.81 kB / 0.6958 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.497e-05/0.4248, allocations: 108.6 kB / 0.6959 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.4249, allocations: 55.97 kB / 0.696 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.4249, allocations: 384 / 0.696 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.425, allocations: 83.23 kB / 0.696 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.425, allocations: 0 / 0.696 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.425, allocations: 8 kB / 0.696 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4251, allocations: 0 / 0.696 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.4251, allocations: 11.98 kB / 0.6961 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.4254, allocations: 259.7 kB / 0.6963 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.592e-05/0.4255, allocations: 39 kB / 0.6963 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.4255, allocations: 7.688 kB / 0.6964 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.4256, allocations: 20.05 kB / 0.6964 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.4256, allocations: 41.39 kB / 0.6964 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.4256, allocations: 0 / 0.6964 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002446/0.4259, allocations: 45.69 kB / 0.6965 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.4259, allocations: 55.41 kB / 0.6965 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.426, allocations: 165.9 kB / 0.6967 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.426, allocations: 25.7 kB / 0.6967 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.426, allocations: 138.8 kB / 0.6968 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.426, allocations: 7.891 kB / 0.6968 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.426, allocations: 23.38 kB / 0.6969 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.4261, allocations: 0.4885 MB / 0.6973 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.4261, allocations: 7.984 kB / 0.6973 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.4261, allocations: 31.06 kB / 0.6974 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.4262, allocations: 35.06 kB / 0.6974 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4262, allocations: 0 / 0.6974 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.398e-05/0.4262, allocations: 57.56 kB / 0.6975 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4262, allocations: 4 kB / 0.6975 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4263, allocations: 8.094 kB / 0.6975 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4263, allocations: 0 / 0.6975 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.285e-05/0.4263, allocations: 4 kB / 0.6975 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4263, allocations: 5.016 kB / 0.6975 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.4264, allocations: 0.6875 kB / 0.6975 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.4264, allocations: 0 / 0.6975 GB, free: 10.15 MB / 0.5105 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 5.399e-05/0.4264, allocations: 168.5 kB / 0.6976 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.4264, allocations: 4 kB / 0.6976 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.4265, allocations: 3.312 kB / 0.6976 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.4265, allocations: 0 / 0.6976 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4265, allocations: 4 kB / 0.6976 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.4265, allocations: 0 / 0.6976 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.4267, allocations: 427.7 kB / 0.6981 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4267, allocations: 0 / 0.6981 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.4267, allocations: 4 kB / 0.6981 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4267, allocations: 3.984 kB / 0.6981 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.4267, allocations: 3.938 kB / 0.6981 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4267, allocations: 0 / 0.6981 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4267, allocations: 3.938 kB / 0.6981 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.825e-05/0.4268, allocations: 84.14 kB / 0.6981 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.4268, allocations: 8.031 kB / 0.6982 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.4268, allocations: 3.984 kB / 0.6982 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.4269, allocations: 4 kB / 0.6982 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.4269, allocations: 288 / 0.6982 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4269, allocations: 3.938 kB / 0.6982 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.472e-05/0.4269, allocations: 131.2 kB / 0.6983 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.4269, allocations: 0 / 0.6983 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001816/0.4271, allocations: 8 kB / 0.6983 GB, free: 9.223 MB / 0.5105 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 9.601e-05/0.4272, allocations: 103.2 kB / 0.6984 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.4273, allocations: 27.62 kB / 0.6984 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4273, allocations: 0 / 0.6984 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.4273, allocations: 15.62 kB / 0.6984 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.4275, allocations: 12.61 kB / 0.6985 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.4278, allocations: 125.1 kB / 0.6986 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.4278, allocations: 63.28 kB / 0.6986 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.4278, allocations: 7.984 kB / 0.6986 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.4279, allocations: 12.5 kB / 0.6987 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.4279, allocations: 0 / 0.6987 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of Templates: time 0.003288/0.4311, allocations: 0.7095 MB / 0.6993 GB, free: 8.129 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.368214437039569]