Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007453/0.0007453, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007329/0.0007329, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8676/0.8676, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001381/0.001381, allocations: 238.5 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6493/0.6493, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.143e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3364/0.3364, allocations: 119 MB / 0.7625 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.3365, allocations: 51.75 kB / 0.7626 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.3366, allocations: 0 / 0.7626 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3367, allocations: 7.938 kB / 0.7626 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.3367, allocations: 15.91 kB / 0.7626 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.3375, allocations: 247.8 kB / 0.7628 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.3376, allocations: 39.84 kB / 0.7628 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.3376, allocations: 0 / 0.7628 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.3377, allocations: 15.98 kB / 0.7629 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.3377, allocations: 15.91 kB / 0.7629 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3378, allocations: 4 kB / 0.7629 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.338, allocations: 183.4 kB / 0.7631 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.3381, allocations: 7.984 kB / 0.7631 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.3381, allocations: 4 kB / 0.7631 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.3383, allocations: 183.5 kB / 0.7632 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3383, allocations: 0 / 0.7632 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3383, allocations: 0 / 0.7632 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3383, allocations: 0 / 0.7632 GB, free: 3.359 MB / 0.5886 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.0003262/0.3387, allocations: 286.1 kB / 0.7635 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3387, allocations: 9.938 kB / 0.7635 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.3387, allocations: 31.41 kB / 0.7636 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3388, allocations: 9.625 kB / 0.7636 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.853e-05/0.3388, allocations: 104.2 kB / 0.7637 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.3389, allocations: 55.97 kB / 0.7637 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-06/0.3389, allocations: 384 / 0.7637 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.339, allocations: 79.44 kB / 0.7638 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.339, allocations: 0 / 0.7638 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.339, allocations: 0.6562 kB / 0.7638 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.339, allocations: 11.92 kB / 0.7638 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/0.3391, allocations: 12 kB / 0.7638 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.3396, allocations: 279.9 kB / 0.7641 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.3396, allocations: 22.52 kB / 0.7641 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.3396, allocations: 4.859 kB / 0.7641 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.3397, allocations: 28.05 kB / 0.7641 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.3397, allocations: 34.41 kB / 0.7642 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.3397, allocations: 0 / 0.7642 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.3398, allocations: 39.06 kB / 0.7642 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.3398, allocations: 51.41 kB / 0.7643 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.3399, allocations: 105.8 kB / 0.7644 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.3399, allocations: 29.83 kB / 0.7644 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.34, allocations: 96.48 kB / 0.7645 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.34, allocations: 3.953 kB / 0.7645 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.34, allocations: 13.72 kB / 0.7645 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.3401, allocations: 322.8 kB / 0.7648 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.3401, allocations: 4 kB / 0.7648 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.3401, allocations: 13.72 kB / 0.7648 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.3401, allocations: 21.72 kB / 0.7648 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3401, allocations: 0 / 0.7648 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.174e-05/0.3402, allocations: 57.62 kB / 0.7649 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3402, allocations: 4 kB / 0.7649 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3402, allocations: 0 / 0.7649 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3402, allocations: 0 / 0.7649 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.951e-05/0.3402, allocations: 7.984 kB / 0.7649 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3402, allocations: 4 kB / 0.7649 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.3402, allocations: 0 / 0.7649 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3402, allocations: 0 / 0.7649 GB, free: 1.441 MB / 0.5886 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 4.981e-05/0.3403, allocations: 114.4 kB / 0.765 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.3403, allocations: 64 / 0.765 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.534e-05/0.3404, allocations: 134.1 kB / 0.7651 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001735/0.3406, allocations: 180.3 kB / 0.7653 GB, free: 1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.652e-05/0.3406, allocations: 180.2 kB / 0.7655 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-05/0.3407, allocations: 180.2 kB / 0.7657 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.3408, allocations: 384.2 kB / 0.766 GB, free: 212 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.3408, allocations: 109 kB / 0.7661 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.3408, allocations: 101 kB / 0.7662 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.562e-05/0.3409, allocations: 181.6 kB / 0.7664 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.3409, allocations: 184.2 kB / 0.7666 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-05/0.3409, allocations: 188.2 kB / 0.7668 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.378e-05/0.341, allocations: 176.3 kB / 0.7669 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.579e-05/0.3411, allocations: 311.7 kB / 0.7672 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.3411, allocations: 101.3 kB / 0.7673 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.3411, allocations: 188.2 kB / 0.7675 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.3412, allocations: 105 kB / 0.7676 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3413, allocations: 184.2 kB / 0.7678 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3413, allocations: 104.9 kB / 0.7679 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.3413, allocations: 88.16 kB / 0.768 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3413, allocations: 0 / 0.768 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002196/0.3415, allocations: 59.73 kB / 0.768 GB, free: 14.07 MB / 0.6042 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.0004257/0.342, allocations: 0.8826 MB / 0.7689 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.342, allocations: 15.92 kB / 0.7689 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.342, allocations: 128 / 0.7689 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-06/0.342, allocations: 8 kB / 0.7689 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3423, allocations: 459.7 kB / 0.7693 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.3431, allocations: 1.357 MB / 0.7707 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.3431, allocations: 59.34 kB / 0.7707 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.479e-05/0.3431, allocations: 10.61 kB / 0.7707 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.3432, allocations: 12.5 kB / 0.7707 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.3432, allocations: 0 / 0.7707 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.3569, allocations: 2.922 MB / 0.7736 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.269/6.626, allocations: 8.047 kB / 0.7736 GB, free: 8.43 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.110572896897793] Failed to read output from testmodel.py, exit status != 0: 6.701490093022585 6.710529767 6.370147678 Calling exit ...