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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.0009821, allocations: 99.27 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 191.8 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 281.7 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9008/0.9008, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 94.94 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1595, allocations: 86.98 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4298/0.5893, allocations: 148.3 MB / 0.8264 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001451/0.5895, allocations: 51.59 kB / 0.8264 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.5895, allocations: 0 / 0.8264 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.5896, allocations: 7.938 kB / 0.8264 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.5898, allocations: 15.91 kB / 0.8264 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.5905, allocations: 216.2 kB / 0.8267 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.5906, allocations: 31.91 kB / 0.8267 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.5906, allocations: 7.938 kB / 0.8267 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.5906, allocations: 15.92 kB / 0.8267 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.5907, allocations: 11.98 kB / 0.8267 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.5907, allocations: 0 / 0.8267 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.5911, allocations: 199.4 kB / 0.8269 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.5912, allocations: 11.97 kB / 0.8269 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.5912, allocations: 11.94 kB / 0.8269 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.5914, allocations: 111.6 kB / 0.827 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5914, allocations: 0 / 0.827 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5914, allocations: 0 / 0.827 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5914, allocations: 0 / 0.827 GB, free: 9.609 MB / 0.5919 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.0003561/0.5918, allocations: 342.1 kB / 0.8274 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5918, allocations: 8.031 kB / 0.8274 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.5921, allocations: 32.91 kB / 0.8274 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.5923, allocations: 165.2 kB / 0.8276 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.5923, allocations: 33.58 kB / 0.8276 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.5923, allocations: 4 kB / 0.8276 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.5925, allocations: 45.69 kB / 0.8276 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.5925, allocations: 1.5 kB / 0.8276 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.5925, allocations: 0 / 0.8276 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.5925, allocations: 0 / 0.8276 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.5926, allocations: 31.97 kB / 0.8277 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.5929, allocations: 260.8 kB / 0.8279 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.593, allocations: 26.52 kB / 0.8279 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.593, allocations: 12.91 kB / 0.828 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.5932, allocations: 93.09 kB / 0.828 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5932, allocations: 30.56 kB / 0.8281 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.5932, allocations: 0 / 0.8281 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002208/0.5934, allocations: 49.69 kB / 0.8281 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.5935, allocations: 55.34 kB / 0.8282 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.5936, allocations: 109.7 kB / 0.8283 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.5936, allocations: 29.83 kB / 0.8283 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.5936, allocations: 88.03 kB / 0.8284 GB, free: 8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.5936, allocations: 7.906 kB / 0.8284 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.5937, allocations: 18.22 kB / 0.8284 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5938, allocations: 318.8 kB / 0.8287 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.5938, allocations: 0 / 0.8287 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.5938, allocations: 22.56 kB / 0.8287 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.5939, allocations: 38.52 kB / 0.8288 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5939, allocations: 0 / 0.8288 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.521e-05/0.594, allocations: 57.56 kB / 0.8288 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.594, allocations: 6.031 kB / 0.8288 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.594, allocations: 0 / 0.8288 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.594, allocations: 4 kB / 0.8288 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.436e-05/0.5941, allocations: 16.08 kB / 0.8289 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5941, allocations: 0.875 kB / 0.8289 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.5941, allocations: 7.938 kB / 0.8289 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.5941, allocations: 0 / 0.8289 GB, free: 7.477 MB / 0.5919 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.42e-05/0.5942, allocations: 109.8 kB / 0.829 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.5942, allocations: 3.906 kB / 0.829 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.5943, allocations: 7.125 kB / 0.829 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5943, allocations: 4 kB / 0.829 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5943, allocations: 0 / 0.829 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5943, allocations: 7.938 kB / 0.829 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.5946, allocations: 358.3 kB / 0.8293 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5946, allocations: 0 / 0.8293 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.5946, allocations: 8 kB / 0.8293 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5946, allocations: 3.938 kB / 0.8293 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.5946, allocations: 0 / 0.8293 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5946, allocations: 4 kB / 0.8294 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5946, allocations: 3.938 kB / 0.8294 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.038e-05/0.5947, allocations: 70.05 kB / 0.8294 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.5948, allocations: 81.11 kB / 0.8295 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.5948, allocations: 3.938 kB / 0.8295 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.5949, allocations: 7.984 kB / 0.8295 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.5949, allocations: 0 / 0.8295 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5949, allocations: 4.031 kB / 0.8295 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.5949, allocations: 83.28 kB / 0.8296 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5949, allocations: 0 / 0.8296 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001895/0.5951, allocations: 8 kB / 0.8296 GB, free: 6.613 MB / 0.5919 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.0001058/0.5952, allocations: 111.5 kB / 0.8297 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.67e-05/0.5953, allocations: 19.94 kB / 0.8297 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5953, allocations: 4.188 kB / 0.8297 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/0.5954, allocations: 7.938 kB / 0.8297 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.5956, allocations: 7.984 kB / 0.8297 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.5958, allocations: 125.3 kB / 0.8299 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.596, allocations: 0.6729 MB / 0.8305 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.942e-05/0.5961, allocations: 16.09 kB / 0.8305 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.5961, allocations: 7.438 kB / 0.8305 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5961, allocations: 0 / 0.8305 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of Templates: time 0.002615/0.5987, allocations: 0.5837 MB / 0.8311 GB, free: 5.016 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)