Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.088/1.088, allocations: 175.7 MB / 478.4 MB, free: 3.402 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 71.25 kB / 0.6652 GB, free: 11.17 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.229, allocations: 94.54 MB / 0.7575 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6132/0.8422, allocations: 135.8 MB / 0.8901 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.8424, allocations: 56.16 kB / 0.8901 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.8424, allocations: 0 / 0.8901 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.8425, allocations: 6.328 kB / 0.8901 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.8426, allocations: 11.28 kB / 0.8901 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.8435, allocations: 247.1 kB / 0.8904 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.835e-05/0.8436, allocations: 27.19 kB / 0.8904 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.8436, allocations: 7.438 kB / 0.8904 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.8437, allocations: 15.22 kB / 0.8904 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.8437, allocations: 14.8 kB / 0.8904 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.8437, allocations: 0.875 kB / 0.8904 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005809/0.8443, allocations: 252.5 kB / 0.8907 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.8444, allocations: 4.766 kB / 0.8907 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.8444, allocations: 12.66 kB / 0.8907 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.8449, allocations: 187.8 kB / 0.8909 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8449, allocations: 0 / 0.8909 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8449, allocations: 2.156 kB / 0.8909 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.8449, allocations: 1.062 kB / 0.8909 GB, free: 12.26 MB / 0.6544 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.0006172/0.8455, allocations: 368.2 kB / 0.8912 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.8456, allocations: 11.94 kB / 0.8913 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/0.8456, allocations: 36.12 kB / 0.8913 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.8457, allocations: 2.031 kB / 0.8913 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.8459, allocations: 169.8 kB / 0.8914 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.846, allocations: 34.09 kB / 0.8915 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.846, allocations: 5.219 kB / 0.8915 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.8461, allocations: 42.23 kB / 0.8915 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.8461, allocations: 1.281 kB / 0.8915 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.8461, allocations: 0 / 0.8915 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.8462, allocations: 1.375 kB / 0.8915 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.267e-05/0.8462, allocations: 18.95 kB / 0.8915 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.8472, allocations: 0.6012 MB / 0.8921 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.8473, allocations: 22.3 kB / 0.8922 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.8473, allocations: 6.109 kB / 0.8922 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.8476, allocations: 333.4 kB / 0.8925 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.596e-05/0.8477, allocations: 35.88 kB / 0.8925 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.8477, allocations: 0 / 0.8925 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.8479, allocations: 45.2 kB / 0.8926 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.8479, allocations: 51.41 kB / 0.8926 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.848, allocations: 101.5 kB / 0.8927 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.848, allocations: 26.77 kB / 0.8927 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.8481, allocations: 87.61 kB / 0.8928 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.8481, allocations: 6.469 kB / 0.8928 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.8482, allocations: 12.84 kB / 0.8928 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.8484, allocations: 317.5 kB / 0.8931 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.8484, allocations: 11.06 kB / 0.8931 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.8484, allocations: 23.59 kB / 0.8932 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.8485, allocations: 22.81 kB / 0.8932 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8485, allocations: 1.125 kB / 0.8932 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.686e-05/0.8486, allocations: 45.69 kB / 0.8932 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.8486, allocations: 7.719 kB / 0.8932 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.8486, allocations: 5.062 kB / 0.8932 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.8486, allocations: 0 / 0.8932 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.8487, allocations: 12.25 kB / 0.8933 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8487, allocations: 2.734 kB / 0.8933 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.8487, allocations: 6.047 kB / 0.8933 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.8487, allocations: 5.062 kB / 0.8933 GB, free: 9.73 MB / 0.6544 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 9.937e-05/0.8488, allocations: 115.6 kB / 0.8934 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.8488, allocations: 1.219 kB / 0.8934 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.849, allocations: 121.9 kB / 0.8935 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-05/0.8491, allocations: 180.2 kB / 0.8937 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.217e-05/0.8492, allocations: 180.9 kB / 0.8938 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.114e-05/0.8492, allocations: 185.4 kB / 0.894 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.8495, allocations: 407.6 kB / 0.8944 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-05/0.8496, allocations: 108.8 kB / 0.8945 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.8496, allocations: 110.1 kB / 0.8946 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.471e-05/0.8497, allocations: 177.4 kB / 0.8948 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-05/0.8498, allocations: 181.6 kB / 0.895 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.101e-05/0.8499, allocations: 178.7 kB / 0.8951 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.328e-05/0.85, allocations: 181 kB / 0.8953 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.8501, allocations: 310.5 kB / 0.8956 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.8502, allocations: 197.2 kB / 0.8958 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8503, allocations: 177.5 kB / 0.896 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.8505, allocations: 105.9 kB / 0.8961 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.8506, allocations: 185.7 kB / 0.8962 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.8506, allocations: 101 kB / 0.8963 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.379e-05/0.8507, allocations: 94.28 kB / 0.8964 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8507, allocations: 0 / 0.8964 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000379/0.8511, allocations: 54.39 kB / 0.8965 GB, free: 6.355 MB / 0.6544 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.000845/0.8519, allocations: 0.8887 MB / 0.8973 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.571e-05/0.852, allocations: 12.19 kB / 0.8973 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.852, allocations: 4.125 kB / 0.8974 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.852, allocations: 3.938 kB / 0.8974 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.8526, allocations: 457.2 kB / 0.8978 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.854, allocations: 1.344 MB / 0.8991 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.8543, allocations: 0.6738 MB / 0.8998 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.8544, allocations: 4.688 kB / 0.8998 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.8544, allocations: 13.02 kB / 0.8998 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.8544, allocations: 0 / 0.8998 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.8803, allocations: 2.222 MB / 0.902 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/9.048, allocations: 10.22 kB / 0.902 GB, free: 2.527 MB / 0.6544 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.204183288384229] Failed to read output from testmodel.py, exit status != 0: 9.124885302037 9.151105704 8.301389685 Calling exit ...