Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0014/0.0014, allocations: 106.8 kB / 16.45 MB, free: 6.453 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.001372/0.001372, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8513/0.8513, allocations: 133.9 MB / 442.8 MB, free: 11.29 MB / 350.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/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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002813/0.002813, allocations: 65.59 kB / 0.6134 GB, free: 8.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2198, allocations: 85.86 MB / 0.6972 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006086/0.2259, allocations: 3.804 MB / 0.701 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.2262, allocations: 151.5 kB / 0.7011 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.2262, allocations: 7.938 kB / 0.7011 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.2263, allocations: 7.984 kB / 0.7011 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.2264, allocations: 3.938 kB / 0.7011 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.2268, allocations: 83.75 kB / 0.7012 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.2269, allocations: 35.84 kB / 0.7012 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.2269, allocations: 3.984 kB / 0.7012 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.227, allocations: 23.92 kB / 0.7013 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.227, allocations: 15.92 kB / 0.7013 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.227, allocations: 0 / 0.7013 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006158/0.2277, allocations: 208.5 kB / 0.7015 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.2277, allocations: 7.984 kB / 0.7015 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.2277, allocations: 7.938 kB / 0.7015 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.2279, allocations: 67.84 kB / 0.7016 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2279, allocations: 3.938 kB / 0.7016 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2279, allocations: 0 / 0.7016 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2279, allocations: 0 / 0.7016 GB, free: 14.64 MB / 0.5294 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.000533/0.2285, allocations: 339.4 kB / 0.7019 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2285, allocations: 13.11 kB / 0.7019 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.2286, allocations: 30.75 kB / 0.7019 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2286, allocations: 0.9375 kB / 0.7019 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2288, allocations: 168.3 kB / 0.7021 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.002e-05/0.2289, allocations: 30.2 kB / 0.7021 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2289, allocations: 4.125 kB / 0.7021 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.229, allocations: 53.61 kB / 0.7022 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.229, allocations: 4 kB / 0.7022 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.229, allocations: 0 / 0.7022 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.2291, allocations: 0 / 0.7022 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.38e-05/0.2291, allocations: 19.98 kB / 0.7022 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.2297, allocations: 334 kB / 0.7025 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.2297, allocations: 22.52 kB / 0.7025 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.2298, allocations: 4.859 kB / 0.7025 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-05/0.2299, allocations: 85.17 kB / 0.7026 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.2299, allocations: 34.56 kB / 0.7027 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2299, allocations: 0 / 0.7027 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001914/0.2301, allocations: 37.69 kB / 0.7027 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2301, allocations: 55.34 kB / 0.7027 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2302, allocations: 105.8 kB / 0.7028 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.2303, allocations: 25.7 kB / 0.7029 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.2303, allocations: 92.22 kB / 0.703 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.2304, allocations: 4 kB / 0.703 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.2304, allocations: 17.67 kB / 0.703 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2306, allocations: 322.8 kB / 0.7033 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.2306, allocations: 0 / 0.7033 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.2306, allocations: 13.72 kB / 0.7033 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.2307, allocations: 25.72 kB / 0.7033 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2307, allocations: 0 / 0.7033 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.485e-05/0.2308, allocations: 49.62 kB / 0.7034 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2308, allocations: 11.94 kB / 0.7034 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2308, allocations: 0 / 0.7034 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.2308, allocations: 0 / 0.7034 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.2309, allocations: 7.984 kB / 0.7034 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2309, allocations: 0 / 0.7034 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.2309, allocations: 8 kB / 0.7034 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2309, allocations: 4.062 kB / 0.7034 GB, free: 12.47 MB / 0.5294 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.622e-05/0.231, allocations: 117.7 kB / 0.7035 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.231, allocations: 0 / 0.7035 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.2312, allocations: 125 kB / 0.7036 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-05/0.2313, allocations: 176.3 kB / 0.7038 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-05/0.2314, allocations: 180.2 kB / 0.704 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.083e-05/0.2315, allocations: 184.3 kB / 0.7041 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.2318, allocations: 409.1 kB / 0.7045 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-05/0.2318, allocations: 105 kB / 0.7046 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.2319, allocations: 108.9 kB / 0.7047 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.134e-05/0.232, allocations: 176.3 kB / 0.7049 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.234e-05/0.2321, allocations: 184.3 kB / 0.7051 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.321e-05/0.2321, allocations: 188.1 kB / 0.7053 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.069e-05/0.2322, allocations: 176.3 kB / 0.7054 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.2324, allocations: 315.6 kB / 0.7057 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2325, allocations: 182.1 kB / 0.7059 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.2326, allocations: 184.2 kB / 0.7061 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.2328, allocations: 105 kB / 0.7062 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2329, allocations: 188.2 kB / 0.7064 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.233, allocations: 101 kB / 0.7065 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.233, allocations: 87.27 kB / 0.7065 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.233, allocations: 0 / 0.7065 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002689/0.2333, allocations: 23.88 kB / 0.7066 GB, free: 9.012 MB / 0.5294 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.0006842/0.234, allocations: 0.8282 MB / 0.7074 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.2341, allocations: 8 kB / 0.7074 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2341, allocations: 128 / 0.7074 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.2341, allocations: 4 kB / 0.7074 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.2346, allocations: 462.1 kB / 0.7078 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.2359, allocations: 1.317 MB / 0.7091 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.2362, allocations: 0.6768 MB / 0.7098 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.2362, allocations: 7.984 kB / 0.7098 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.2363, allocations: 11.44 kB / 0.7098 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.2363, allocations: 0 / 0.7098 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.2592, allocations: 1.507 MB / 0.7113 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.127, allocations: 11.17 kB / 0.7113 GB, free: 4.203 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.794701050996082] Failed to read output from testmodel.py, exit status != 0: 8.19739735800249 8.221344677 7.988949839 Calling exit ...