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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000922/0.0009219, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000983/0.000983, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.9932/0.9932, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 82.03 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4358/0.61, allocations: 148.3 MB / 0.7392 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.6102, allocations: 59.56 kB / 0.7392 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.6102, allocations: 5.375 kB / 0.7392 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.126e-05/0.6103, allocations: 6.75 kB / 0.7392 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.6104, allocations: 8.422 kB / 0.7392 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.6111, allocations: 210.6 kB / 0.7395 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.844e-05/0.6111, allocations: 38.77 kB / 0.7395 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.6112, allocations: 5.5 kB / 0.7395 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.6112, allocations: 16.84 kB / 0.7395 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.6113, allocations: 6.875 kB / 0.7395 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.6113, allocations: 0.9375 kB / 0.7395 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.6117, allocations: 199.2 kB / 0.7397 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.6117, allocations: 11.02 kB / 0.7397 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.6117, allocations: 10.22 kB / 0.7397 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.612, allocations: 118.2 kB / 0.7398 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.612, allocations: 0 / 0.7398 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.612, allocations: 0 / 0.7398 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.612, allocations: 4 kB / 0.7398 GB, free: 5.258 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.0003346/0.6123, allocations: 339.4 kB / 0.7402 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.6124, allocations: 11.58 kB / 0.7402 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.6124, allocations: 32.47 kB / 0.7402 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.6127, allocations: 28.44 kB / 0.7402 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.6128, allocations: 161.8 kB / 0.7404 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.6128, allocations: 32.86 kB / 0.7404 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.6129, allocations: 9.891 kB / 0.7404 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.613, allocations: 49.56 kB / 0.7405 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.613, allocations: 2.625 kB / 0.7405 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.613, allocations: 0 / 0.7405 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.613, allocations: 6.547 kB / 0.7405 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.6131, allocations: 20.7 kB / 0.7405 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.6134, allocations: 264.8 kB / 0.7408 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.6134, allocations: 23.97 kB / 0.7408 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.6135, allocations: 8.562 kB / 0.7408 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.6136, allocations: 93.8 kB / 0.7409 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.6136, allocations: 32.84 kB / 0.7409 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.6137, allocations: 1.094 kB / 0.7409 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002137/0.6139, allocations: 58.84 kB / 0.741 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.6139, allocations: 52.75 kB / 0.741 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.614, allocations: 106.4 kB / 0.7411 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.614, allocations: 25.7 kB / 0.7411 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.614, allocations: 91 kB / 0.7412 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.6141, allocations: 1.984 kB / 0.7412 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.6141, allocations: 18.31 kB / 0.7413 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.6142, allocations: 317.4 kB / 0.7416 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.6142, allocations: 5.203 kB / 0.7416 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.6142, allocations: 23.84 kB / 0.7416 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.6143, allocations: 32.59 kB / 0.7416 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6143, allocations: 1.375 kB / 0.7416 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.051e-05/0.6144, allocations: 61.41 kB / 0.7417 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6144, allocations: 5.031 kB / 0.7417 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.6144, allocations: 2.25 kB / 0.7417 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6144, allocations: 1.219 kB / 0.7417 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.6145, allocations: 6.219 kB / 0.7417 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.6145, allocations: 5.188 kB / 0.7417 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.6145, allocations: 1.531 kB / 0.7417 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.6145, allocations: 2.969 kB / 0.7417 GB, free: 3.336 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.125e-05/0.6146, allocations: 117.4 kB / 0.7418 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.6146, allocations: 5.188 kB / 0.7418 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.6146, allocations: 5.234 kB / 0.7418 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6146, allocations: 1.969 kB / 0.7418 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6147, allocations: 5.688 kB / 0.7418 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6147, allocations: 1.312 kB / 0.7418 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.6149, allocations: 362 kB / 0.7422 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6149, allocations: 9.312 kB / 0.7422 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.615, allocations: 7.688 kB / 0.7422 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.615, allocations: 3.938 kB / 0.7422 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.615, allocations: 1.219 kB / 0.7422 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.615, allocations: 1.312 kB / 0.7422 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.615, allocations: 0.9844 kB / 0.7422 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.85e-05/0.6151, allocations: 70.8 kB / 0.7423 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.6151, allocations: 83.22 kB / 0.7423 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.6151, allocations: 5.156 kB / 0.7423 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.6152, allocations: 4.859 kB / 0.7424 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.6152, allocations: 5.078 kB / 0.7424 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.6152, allocations: 1.219 kB / 0.7424 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.6153, allocations: 85.38 kB / 0.7424 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6153, allocations: 0 / 0.7424 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001805/0.6155, allocations: 6.25 kB / 0.7424 GB, free: 2.535 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.0002991/0.6158, allocations: 0.6121 MB / 0.743 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.92e-05/0.6159, allocations: 23.17 kB / 0.7431 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6159, allocations: 0.9688 kB / 0.7431 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.6159, allocations: 4.641 kB / 0.7431 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.6161, allocations: 9.047 kB / 0.7431 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.6164, allocations: 150.9 kB / 0.7432 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.6166, allocations: 0.6808 MB / 0.7439 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.6167, allocations: 6.734 kB / 0.7439 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.6167, allocations: 8.938 kB / 0.7439 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6167, allocations: 1.406 kB / 0.7439 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2076/0.8243, allocations: 1.455 MB / 0.7453 GB, free: 472 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.953/9.778, allocations: 8.797 kB / 0.7453 GB, free: 464 kB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)