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.0007651/0.0007655, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00468/0.00468, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9497/0.9497, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 16 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1626, allocations: 83.42 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3701/0.5328, allocations: 144.1 MB / 0.7387 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001208/0.533, allocations: 56.31 kB / 0.7388 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.533, allocations: 4 kB / 0.7388 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.542e-05/0.5331, allocations: 0.8438 kB / 0.7388 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.5332, allocations: 15.03 kB / 0.7388 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.5338, allocations: 198.7 kB / 0.739 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.5339, allocations: 54.19 kB / 0.739 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.5339, allocations: 13.55 kB / 0.7391 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.534, allocations: 15 kB / 0.7391 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.534, allocations: 13.7 kB / 0.7391 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.5341, allocations: 1.062 kB / 0.7391 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.5345, allocations: 227.1 kB / 0.7393 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.5345, allocations: 9.703 kB / 0.7393 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.5346, allocations: 41.11 kB / 0.7393 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.5348, allocations: 125.5 kB / 0.7395 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5348, allocations: 0 / 0.7395 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5349, allocations: 2.062 kB / 0.7395 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.5349, allocations: 4 kB / 0.7395 GB, free: 6.496 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.0003024/0.5352, allocations: 334.1 kB / 0.7398 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5352, allocations: 18.61 kB / 0.7398 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.5352, allocations: 33.09 kB / 0.7398 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.5355, allocations: 22.12 kB / 0.7399 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.5356, allocations: 162.7 kB / 0.74 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.5357, allocations: 31.44 kB / 0.74 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.5357, allocations: 5.219 kB / 0.7401 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.5358, allocations: 48.41 kB / 0.7401 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.5358, allocations: 0 / 0.7401 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.5358, allocations: 1.344 kB / 0.7401 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.5359, allocations: 2.391 kB / 0.7401 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.077e-05/0.5359, allocations: 25.09 kB / 0.7401 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.5362, allocations: 256.3 kB / 0.7404 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.5362, allocations: 30.16 kB / 0.7404 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.5363, allocations: 7.516 kB / 0.7404 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.5364, allocations: 95.72 kB / 0.7405 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.5364, allocations: 32.25 kB / 0.7405 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5364, allocations: 0 / 0.7405 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.5366, allocations: 56.39 kB / 0.7406 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.5367, allocations: 52.38 kB / 0.7406 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.5367, allocations: 107.5 kB / 0.7407 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.5368, allocations: 29.7 kB / 0.7408 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.5368, allocations: 92.97 kB / 0.7408 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.5368, allocations: 5.938 kB / 0.7409 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.5369, allocations: 10.75 kB / 0.7409 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.5369, allocations: 321.7 kB / 0.7412 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.537, allocations: 2.734 kB / 0.7412 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.537, allocations: 21.88 kB / 0.7412 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.537, allocations: 31.95 kB / 0.7412 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.537, allocations: 2.047 kB / 0.7412 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.82e-05/0.5371, allocations: 63.97 kB / 0.7413 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5371, allocations: 5.5 kB / 0.7413 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5371, allocations: 2.484 kB / 0.7413 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.5372, allocations: 1.375 kB / 0.7413 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.5372, allocations: 5.531 kB / 0.7413 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5372, allocations: 6.125 kB / 0.7413 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.5372, allocations: 5 kB / 0.7413 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.5373, allocations: 2.219 kB / 0.7413 GB, free: 4.574 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.153e-05/0.5373, allocations: 117 kB / 0.7414 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.5374, allocations: 5.547 kB / 0.7414 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.5374, allocations: 9.734 kB / 0.7414 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5374, allocations: 0.7969 kB / 0.7414 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5374, allocations: 3.938 kB / 0.7414 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.5374, allocations: 0 / 0.7414 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.5376, allocations: 360.8 kB / 0.7418 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5376, allocations: 5.719 kB / 0.7418 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.5377, allocations: 2.406 kB / 0.7418 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5377, allocations: 6.016 kB / 0.7418 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.5377, allocations: 0 / 0.7418 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5377, allocations: 1.938 kB / 0.7418 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.5377, allocations: 0.5625 kB / 0.7418 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.75e-05/0.5378, allocations: 75.08 kB / 0.7419 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.5378, allocations: 82.14 kB / 0.742 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.5378, allocations: 2.406 kB / 0.742 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.5379, allocations: 5.5 kB / 0.742 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.5379, allocations: 6.844 kB / 0.742 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.5379, allocations: 1.219 kB / 0.742 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.538, allocations: 83.77 kB / 0.7421 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.538, allocations: 1.5 kB / 0.7421 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001807/0.5382, allocations: 5.594 kB / 0.7421 GB, free: 3.777 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.0002685/0.5384, allocations: 0.6062 MB / 0.7427 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.008e-05/0.5385, allocations: 24.25 kB / 0.7427 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5385, allocations: 0 / 0.7427 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-06/0.5385, allocations: 4.766 kB / 0.7427 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.5387, allocations: 14.94 kB / 0.7427 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.539, allocations: 161 kB / 0.7428 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.5392, allocations: 0.681 MB / 0.7435 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.162e-05/0.5393, allocations: 5.625 kB / 0.7435 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.5393, allocations: 9.938 kB / 0.7435 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5393, allocations: 0 / 0.7435 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.149/1.688, allocations: 1.26 MB / 0.7448 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.689, allocations: 210.4 kB / 0.745 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/4.5, allocations: 2.109 kB / 0.745 GB, free: 1.918 MB / 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)