Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001563/0.001563, allocations: 192.5 kB / 16.14 MB, free: 6.688 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9844/0.9844, allocations: 143 MB / 433 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 59.91 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2028, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4941/0.6969, allocations: 145.6 MB / 0.7358 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.6971, allocations: 52.94 kB / 0.7358 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.6971, allocations: 1.062 kB / 0.7358 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.6973, allocations: 4.641 kB / 0.7358 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.6974, allocations: 13.55 kB / 0.7358 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.6978, allocations: 106.8 kB / 0.7359 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.022e-05/0.6979, allocations: 53.53 kB / 0.736 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.6979, allocations: 3.438 kB / 0.736 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.698, allocations: 15.55 kB / 0.736 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.6981, allocations: 17.3 kB / 0.736 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.6981, allocations: 0 / 0.736 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.6984, allocations: 81.47 kB / 0.7361 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.6984, allocations: 10.38 kB / 0.7361 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.6985, allocations: 10.52 kB / 0.7361 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.6986, allocations: 79.22 kB / 0.7362 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6986, allocations: 1.688 kB / 0.7362 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6987, allocations: 0 / 0.7362 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.6987, allocations: 0 / 0.7362 GB, free: 7.645 MB / 0.5606 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.0005422/0.6992, allocations: 337.9 kB / 0.7365 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6993, allocations: 8.5 kB / 0.7365 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.6995, allocations: 20.92 kB / 0.7366 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.6996, allocations: 168.8 kB / 0.7367 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.6997, allocations: 32.19 kB / 0.7367 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.6997, allocations: 1.375 kB / 0.7367 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.6999, allocations: 45.3 kB / 0.7368 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6999, allocations: 0 / 0.7368 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.7, allocations: 1.891 kB / 0.7368 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.7, allocations: 2.75 kB / 0.7368 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.7001, allocations: 22 kB / 0.7368 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.7005, allocations: 270 kB / 0.7371 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.7005, allocations: 16.14 kB / 0.7371 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.7006, allocations: 6.656 kB / 0.7371 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.7006, allocations: 1.25 kB / 0.7371 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.7006, allocations: 31.78 kB / 0.7371 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.7006, allocations: 4 kB / 0.7371 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.7007, allocations: 45.59 kB / 0.7372 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.7008, allocations: 51.41 kB / 0.7372 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.7009, allocations: 110.1 kB / 0.7373 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.7009, allocations: 25.7 kB / 0.7374 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.7011, allocations: 90.5 kB / 0.7374 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-06/0.7011, allocations: 5.859 kB / 0.7374 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.7011, allocations: 17.06 kB / 0.7375 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7012, allocations: 318.1 kB / 0.7378 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.7013, allocations: 10.81 kB / 0.7378 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.7013, allocations: 25.45 kB / 0.7378 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.245e-05/0.7013, allocations: 32.75 kB / 0.7378 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7014, allocations: 4 kB / 0.7378 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.41e-05/0.7014, allocations: 53.66 kB / 0.7379 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.7015, allocations: 5.141 kB / 0.7379 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7015, allocations: 1.281 kB / 0.7379 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7015, allocations: 1.656 kB / 0.7379 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.7016, allocations: 6.656 kB / 0.7379 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.7016, allocations: 6.016 kB / 0.7379 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.7016, allocations: 1.25 kB / 0.7379 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.7016, allocations: 3.375 kB / 0.7379 GB, free: 5.867 MB / 0.5606 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.632e-05/0.7017, allocations: 121.7 kB / 0.738 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.7017, allocations: 1.312 kB / 0.738 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.7018, allocations: 5.5 kB / 0.738 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.7018, allocations: 0 / 0.738 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7018, allocations: 3.938 kB / 0.738 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7018, allocations: 2.203 kB / 0.738 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.7021, allocations: 344.1 kB / 0.7384 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7021, allocations: 4.547 kB / 0.7384 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.7021, allocations: 5.406 kB / 0.7384 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7021, allocations: 9 kB / 0.7384 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.7022, allocations: 1.375 kB / 0.7384 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7022, allocations: 0 / 0.7384 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7022, allocations: 3.938 kB / 0.7384 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.053e-05/0.7022, allocations: 58.08 kB / 0.7384 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.7023, allocations: 79.31 kB / 0.7385 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.7023, allocations: 9.875 kB / 0.7385 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.7024, allocations: 2.734 kB / 0.7385 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.7024, allocations: 1.938 kB / 0.7385 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.7024, allocations: 0 / 0.7385 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001315/0.7025, allocations: 89.77 kB / 0.7386 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7026, allocations: 0 / 0.7386 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001877/0.7027, allocations: 5.5 kB / 0.7386 GB, free: 5.09 MB / 0.5606 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 9.195e-05/0.7028, allocations: 102.2 kB / 0.7387 GB, free: 5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.7029, allocations: 18.88 kB / 0.7387 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7029, allocations: 0 / 0.7387 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-06/0.7029, allocations: 1.375 kB / 0.7387 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.7032, allocations: 5.344 kB / 0.7387 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.7034, allocations: 108.9 kB / 0.7389 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.7037, allocations: 0.6827 MB / 0.7395 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.563e-05/0.7038, allocations: 9.984 kB / 0.7395 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.7038, allocations: 8.812 kB / 0.7395 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.7038, allocations: 1.375 kB / 0.7395 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of Templates: time 0.002548/0.7064, allocations: 491.6 kB / 0.74 GB, free: 4.137 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)