Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.001854/0.001854, allocations: 116.8 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.002206/0.002206, allocations: 209.5 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9422/0.9422, allocations: 144.9 MB / 454.5 MB, free: 9.988 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",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.002001/0.002001, allocations: 70.38 kB / 0.6287 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.165, allocations: 87.83 MB / 0.7145 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1632/0.3282, allocations: 138.7 MB / 0.8499 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001737/0.3283, allocations: 59.78 kB / 0.8499 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.3283, allocations: 0 / 0.8499 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3285, allocations: 0 / 0.8499 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.3285, allocations: 11.92 kB / 0.85 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008524/0.3294, allocations: 253.7 kB / 0.8502 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.3295, allocations: 31.84 kB / 0.8502 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.3295, allocations: 7.984 kB / 0.8502 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.3296, allocations: 12 kB / 0.8502 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.3296, allocations: 19.91 kB / 0.8503 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.3297, allocations: 4 kB / 0.8503 GB, free: 136 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.3302, allocations: 255.4 kB / 0.8505 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.3302, allocations: 11.92 kB / 0.8505 GB, free: 15.87 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.3303, allocations: 7.984 kB / 0.8505 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.3306, allocations: 187.8 kB / 0.8507 GB, free: 15.68 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3306, allocations: 0 / 0.8507 GB, free: 15.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3306, allocations: 0 / 0.8507 GB, free: 15.68 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3306, allocations: 0 / 0.8507 GB, free: 15.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004763/0.3311, allocations: 359.1 kB / 0.8511 GB, free: 15.28 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3312, allocations: 20.02 kB / 0.8511 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.334e-05/0.3312, allocations: 192 / 0.8511 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.3312, allocations: 34.75 kB / 0.8511 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3312, allocations: 0.9375 kB / 0.8511 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3314, allocations: 164.4 kB / 0.8513 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.3314, allocations: 33.81 kB / 0.8513 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3315, allocations: 0 / 0.8513 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3316, allocations: 49.67 kB / 0.8513 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3316, allocations: 3.938 kB / 0.8513 GB, free: 14.92 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3316, allocations: 4 kB / 0.8513 GB, free: 14.92 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3316, allocations: 0 / 0.8513 GB, free: 14.92 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.3317, allocations: 15.92 kB / 0.8514 GB, free: 14.9 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008256/0.3325, allocations: 0.6105 MB / 0.852 GB, free: 14.17 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.3326, allocations: 14.58 kB / 0.852 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.3326, allocations: 8.859 kB / 0.852 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.3328, allocations: 336.5 kB / 0.8523 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3328, allocations: 30.56 kB / 0.8523 GB, free: 13.69 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.3328, allocations: 0 / 0.8523 GB, free: 13.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.333, allocations: 41.64 kB / 0.8524 GB, free: 13.64 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.333, allocations: 51.41 kB / 0.8524 GB, free: 13.58 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.3331, allocations: 105.8 kB / 0.8525 GB, free: 13.47 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3331, allocations: 33.83 kB / 0.8526 GB, free: 13.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.3332, allocations: 84.09 kB / 0.8526 GB, free: 13.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.3332, allocations: 7.891 kB / 0.8526 GB, free: 13.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.3332, allocations: 21.7 kB / 0.8527 GB, free: 13.31 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3334, allocations: 310.8 kB / 0.853 GB, free: 13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.3334, allocations: 4 kB / 0.853 GB, free: 12.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.3334, allocations: 13.72 kB / 0.853 GB, free: 12.97 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.3335, allocations: 29.64 kB / 0.853 GB, free: 12.94 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3335, allocations: 4 kB / 0.853 GB, free: 12.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.341e-05/0.3335, allocations: 49.62 kB / 0.8531 GB, free: 12.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3336, allocations: 4 kB / 0.8531 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3336, allocations: 0 / 0.8531 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3336, allocations: 4 kB / 0.8531 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.3336, allocations: 8 kB / 0.8531 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3336, allocations: 0 / 0.8531 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.3336, allocations: 8 kB / 0.8531 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3337, allocations: 4 kB / 0.8531 GB, free: 12.85 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 8.151e-05/0.3337, allocations: 109.8 kB / 0.8532 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3338, allocations: 4 kB / 0.8532 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.3339, allocations: 116.9 kB / 0.8533 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-05/0.334, allocations: 180.3 kB / 0.8535 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.577e-05/0.334, allocations: 180.3 kB / 0.8536 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-05/0.3341, allocations: 196.1 kB / 0.8538 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.3344, allocations: 401.2 kB / 0.8542 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.222e-05/0.3344, allocations: 104.9 kB / 0.8543 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.3345, allocations: 104.9 kB / 0.8544 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.86e-05/0.3346, allocations: 188.3 kB / 0.8546 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.3346, allocations: 180.4 kB / 0.8548 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.091e-05/0.3347, allocations: 176.3 kB / 0.8549 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.733e-05/0.3348, allocations: 192.2 kB / 0.8551 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.335, allocations: 307.7 kB / 0.8554 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-05/0.335, allocations: 190 kB / 0.8556 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.3351, allocations: 180.2 kB / 0.8558 GB, free: 9.898 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.3353, allocations: 108.9 kB / 0.8559 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.3354, allocations: 180.5 kB / 0.856 GB, free: 9.602 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3354, allocations: 109 kB / 0.8561 GB, free: 9.488 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.3355, allocations: 83.28 kB / 0.8562 GB, free: 9.406 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3355, allocations: 4 kB / 0.8562 GB, free: 9.402 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003455/0.3358, allocations: 63.67 kB / 0.8563 GB, free: 9.34 MB / 0.67 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 (0): * Single equations (assignments): 0 * 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.0007208/0.3366, allocations: 0.8868 MB / 0.8572 GB, free: 8.422 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 9.377e-05/0.3367, allocations: 11.94 kB / 0.8572 GB, free: 8.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3367, allocations: 0 / 0.8572 GB, free: 8.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3367, allocations: 0 / 0.8572 GB, free: 8.41 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.3371, allocations: 475.7 kB / 0.8576 GB, free: 7.941 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3384, allocations: 1.328 MB / 0.8589 GB, free: 6.527 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3387, allocations: 0.6768 MB / 0.8596 GB, free: 5.824 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 4.825e-05/0.3387, allocations: 11.94 kB / 0.8596 GB, free: 5.812 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.3388, allocations: 15.44 kB / 0.8596 GB, free: 5.797 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/0.3388, allocations: 0 / 0.8596 GB, free: 5.797 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.3572, allocations: 2.331 MB / 0.8619 GB, free: 3.617 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.535, allocations: 12.88 kB / 0.8619 GB, free: 3.605 MB / 0.67 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.748074512986932] Failed to read output from testmodel.py, exit status != 0: 8.662859571981244 9.067168819 8.732250595 Calling exit ...