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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 116.7 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9705/0.9705, allocations: 144.9 MB / 454.5 MB, free: 9.965 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 69.27 kB / 0.6287 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1692, allocations: 87.83 MB / 0.7145 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1941/0.3633, allocations: 151.6 MB / 0.8625 GB, free: 3.668 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.3635, allocations: 59.84 kB / 0.8625 GB, free: 3.609 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.3635, allocations: 0 / 0.8625 GB, free: 3.609 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3636, allocations: 7.938 kB / 0.8626 GB, free: 3.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.256e-05/0.3637, allocations: 11.97 kB / 0.8626 GB, free: 3.59 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.3645, allocations: 215.2 kB / 0.8628 GB, free: 3.379 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.037e-05/0.3646, allocations: 27.92 kB / 0.8628 GB, free: 3.352 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.3647, allocations: 7.984 kB / 0.8628 GB, free: 3.344 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.3647, allocations: 23.86 kB / 0.8628 GB, free: 3.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.3648, allocations: 15.97 kB / 0.8628 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3648, allocations: 0 / 0.8628 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.3653, allocations: 211.4 kB / 0.863 GB, free: 3.098 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.3653, allocations: 11.98 kB / 0.8631 GB, free: 3.086 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.3654, allocations: 7.938 kB / 0.8631 GB, free: 3.078 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3657, allocations: 119.9 kB / 0.8632 GB, free: 2.961 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3657, allocations: 0 / 0.8632 GB, free: 2.961 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3657, allocations: 0 / 0.8632 GB, free: 2.961 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3657, allocations: 0 / 0.8632 GB, free: 2.961 MB / 0.67 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.000469/0.3662, allocations: 343.4 kB / 0.8635 GB, free: 2.578 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3662, allocations: 8.031 kB / 0.8635 GB, free: 2.57 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.33e-05/0.3662, allocations: 4.172 kB / 0.8635 GB, free: 2.566 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.3663, allocations: 30.75 kB / 0.8635 GB, free: 2.527 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.3666, allocations: 32.86 kB / 0.8636 GB, free: 2.496 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3667, allocations: 167.9 kB / 0.8637 GB, free: 2.293 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.3668, allocations: 33.7 kB / 0.8638 GB, free: 2.254 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.3668, allocations: 0 / 0.8638 GB, free: 2.254 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3669, allocations: 45.69 kB / 0.8638 GB, free: 2.203 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.367, allocations: 0 / 0.8638 GB, free: 2.203 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.367, allocations: 3.938 kB / 0.8638 GB, free: 2.199 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.367, allocations: 7.984 kB / 0.8638 GB, free: 2.191 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.367, allocations: 19.98 kB / 0.8638 GB, free: 2.172 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3674, allocations: 260.8 kB / 0.8641 GB, free: 1.867 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 6.231e-05/0.3675, allocations: 30.61 kB / 0.8641 GB, free: 1.828 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.3675, allocations: 8.922 kB / 0.8641 GB, free: 1.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.3677, allocations: 89.09 kB / 0.8642 GB, free: 1.711 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.3677, allocations: 30.56 kB / 0.8642 GB, free: 1.672 MB / 0.67 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3677, allocations: 0 / 0.8642 GB, free: 1.672 MB / 0.67 GB Notification: Performance of matching and sorting (n=2): time 0.0002663/0.368, allocations: 57.62 kB / 0.8643 GB, free: 1.609 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3681, allocations: 55.34 kB / 0.8644 GB, free: 1.543 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3682, allocations: 109.8 kB / 0.8645 GB, free: 1.426 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3682, allocations: 25.7 kB / 0.8645 GB, free: 1.395 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3682, allocations: 84.09 kB / 0.8646 GB, free: 1.309 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.3682, allocations: 11.89 kB / 0.8646 GB, free: 1.297 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.3683, allocations: 17.66 kB / 0.8646 GB, free: 1.273 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3684, allocations: 323 kB / 0.8649 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.3684, allocations: 3.984 kB / 0.8649 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.3685, allocations: 22.58 kB / 0.8649 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.3685, allocations: 30.52 kB / 0.865 GB, free: 0.875 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3685, allocations: 7.984 kB / 0.865 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.08e-05/0.3686, allocations: 53.59 kB / 0.865 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3686, allocations: 4 kB / 0.865 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3686, allocations: 0 / 0.865 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3686, allocations: 4 kB / 0.865 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.3687, allocations: 11.92 kB / 0.865 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3687, allocations: 0 / 0.865 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.3687, allocations: 8 kB / 0.865 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.3688, allocations: 0 / 0.865 GB, free: 0.7812 MB / 0.67 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 9.557e-05/0.3688, allocations: 113.9 kB / 0.8651 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3689, allocations: 0 / 0.8651 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.3689, allocations: 7.125 kB / 0.8652 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3689, allocations: 11.88 kB / 0.8652 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3689, allocations: 0 / 0.8652 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3689, allocations: 7.984 kB / 0.8652 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.3693, allocations: 355.6 kB / 0.8655 GB, free: 228 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3693, allocations: 3.938 kB / 0.8655 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.3693, allocations: 7.938 kB / 0.8655 GB, free: 216 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3693, allocations: 3.984 kB / 0.8655 GB, free: 212 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3693, allocations: 8 kB / 0.8655 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3693, allocations: 0 / 0.8655 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3693, allocations: 0 / 0.8655 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.894e-05/0.3694, allocations: 69.97 kB / 0.8656 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.3695, allocations: 85.05 kB / 0.8657 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3695, allocations: 3.984 kB / 0.8657 GB, free: 4 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.3696, allocations: 4 kB / 0.8657 GB, free: 0 / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.3696, allocations: 0 / 0.8657 GB, free: 0 / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.3696, allocations: 0 / 0.8657 GB, free: 0 / 0.67 GB Notification: Performance of sorting global known variables: time 0.4157/0.7853, allocations: 80.28 kB / 0.8658 GB, free: 156.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7853, allocations: 1.219 kB / 0.8658 GB, free: 156.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002987/0.7856, allocations: 6.5 kB / 0.8658 GB, free: 156.1 MB / 0.67 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.0004439/0.786, allocations: 0.614 MB / 0.8664 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.7862, allocations: 19.05 kB / 0.8664 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7862, allocations: 0 / 0.8664 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.7862, allocations: 8.688 kB / 0.8664 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.7865, allocations: 7.75 kB / 0.8664 GB, free: 155.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.787, allocations: 142 kB / 0.8665 GB, free: 155.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.7871, allocations: 0.679 MB / 0.8672 GB, free: 154.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.7872, allocations: 7.422 kB / 0.8672 GB, free: 154.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.7872, allocations: 11.59 kB / 0.8672 GB, free: 154.7 MB / 0.67 GB Notification: Performance of SimCode: time 3.61e-07/0.7872, allocations: 0.625 kB / 0.8672 GB, free: 154.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.806, allocations: 1.516 MB / 0.8687 GB, free: 154.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/9.09, allocations: 12.81 kB / 0.8687 GB, free: 154.4 MB / 0.67 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.05268841702491] Failed to read output from testmodel.py, exit status != 0: 9.216576642997097 9.238731355 8.86822362 Calling exit ...