Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009044/0.0009044, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00816/0.00816, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.529/1.529, allocations: 223.3 MB / 240.3 MB, free: 5.352 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 1.01/1.01, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 8 kB / 0.5164 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1862, allocations: 83.41 MB / 0.5978 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5126/0.6989, allocations: 144.2 MB / 0.7386 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001838/0.6991, allocations: 44.47 kB / 0.7386 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.6992, allocations: 1.312 kB / 0.7386 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.6993, allocations: 9.172 kB / 0.7387 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.6994, allocations: 13.67 kB / 0.7387 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.7003, allocations: 199.5 kB / 0.7389 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.7004, allocations: 62.41 kB / 0.7389 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.7004, allocations: 6 kB / 0.7389 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.7005, allocations: 14.66 kB / 0.7389 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.7006, allocations: 17.55 kB / 0.7389 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.7006, allocations: 1.062 kB / 0.739 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.7011, allocations: 231.2 kB / 0.7392 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.7012, allocations: 6.109 kB / 0.7392 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.7012, allocations: 36.83 kB / 0.7392 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.7015, allocations: 128.3 kB / 0.7393 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.7015, allocations: 0 / 0.7393 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7015, allocations: 0 / 0.7393 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.7016, allocations: 0 / 0.7393 GB, free: 6.82 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.0004135/0.702, allocations: 338.7 kB / 0.7397 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.702, allocations: 9.781 kB / 0.7397 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.7024, allocations: 26.38 kB / 0.7397 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.7025, allocations: 165.9 kB / 0.7398 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.7026, allocations: 30.95 kB / 0.7399 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.7026, allocations: 1.312 kB / 0.7399 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.7028, allocations: 52.34 kB / 0.7399 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7028, allocations: 5.469 kB / 0.7399 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.7028, allocations: 0 / 0.7399 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.7029, allocations: 2.578 kB / 0.7399 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.7029, allocations: 24.09 kB / 0.74 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.7033, allocations: 257.8 kB / 0.7402 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.7034, allocations: 29.86 kB / 0.7402 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.7034, allocations: 11.95 kB / 0.7402 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.7036, allocations: 91.59 kB / 0.7403 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.7036, allocations: 36.34 kB / 0.7404 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.7036, allocations: 0 / 0.7404 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.7039, allocations: 52.16 kB / 0.7404 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.7039, allocations: 56.38 kB / 0.7405 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.704, allocations: 107 kB / 0.7406 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.704, allocations: 25.7 kB / 0.7406 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.7041, allocations: 91.44 kB / 0.7407 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-06/0.7041, allocations: 6.172 kB / 0.7407 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.7041, allocations: 11.67 kB / 0.7407 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7042, allocations: 316.3 kB / 0.741 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.7043, allocations: 3.875 kB / 0.741 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.7043, allocations: 26.64 kB / 0.741 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.56e-05/0.7043, allocations: 35.61 kB / 0.7411 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7043, allocations: 0 / 0.7411 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.713e-05/0.7044, allocations: 57 kB / 0.7411 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7045, allocations: 10.53 kB / 0.7411 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7045, allocations: 1.312 kB / 0.7411 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7045, allocations: 0.6875 kB / 0.7411 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.7046, allocations: 6.812 kB / 0.7411 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.7046, allocations: 1.031 kB / 0.7411 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.7046, allocations: 10.72 kB / 0.7412 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.7046, allocations: 1.609 kB / 0.7412 GB, free: 4.934 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 6.929e-05/0.7047, allocations: 109.7 kB / 0.7413 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.7047, allocations: 1.625 kB / 0.7413 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.7047, allocations: 16.53 kB / 0.7413 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.7048, allocations: 0 / 0.7413 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.7048, allocations: 3.156 kB / 0.7413 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.7048, allocations: 7.875 kB / 0.7413 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.7051, allocations: 352.6 kB / 0.7416 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7051, allocations: 0 / 0.7416 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.7051, allocations: 8.094 kB / 0.7416 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.7051, allocations: 4.875 kB / 0.7416 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.7052, allocations: 9.312 kB / 0.7416 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7052, allocations: 0.5156 kB / 0.7416 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7052, allocations: 1.031 kB / 0.7416 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.7053, allocations: 70.95 kB / 0.7417 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.7053, allocations: 79.14 kB / 0.7418 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.7053, allocations: 6.219 kB / 0.7418 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.7054, allocations: 7.797 kB / 0.7418 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.7054, allocations: 2.359 kB / 0.7418 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.7054, allocations: 1.75 kB / 0.7418 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.891e-05/0.7055, allocations: 84.34 kB / 0.7419 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7055, allocations: 1.594 kB / 0.7419 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001934/0.7057, allocations: 6.469 kB / 0.7419 GB, free: 4.145 MB / 0.5606 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.000117/0.7058, allocations: 107.1 kB / 0.742 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.189e-05/0.7059, allocations: 15.97 kB / 0.742 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7059, allocations: 0 / 0.742 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.7059, allocations: 8.703 kB / 0.742 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.7062, allocations: 12.05 kB / 0.742 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.7065, allocations: 134 kB / 0.7422 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.7067, allocations: 0.6759 MB / 0.7428 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.484e-05/0.7068, allocations: 9.391 kB / 0.7428 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.7068, allocations: 8.688 kB / 0.7428 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.7069, allocations: 0 / 0.7428 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of Templates: time 0.002902/0.7098, allocations: 0.5547 MB / 0.7434 GB, free: 3.137 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)