Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.0008059/0.0008059, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008146/0.0008146, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9597/0.9597, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7772/0.7772, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.0009917/0.0009917, allocations: 70.58 kB / 0.7181 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5481/0.5491, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004878/0.554, allocations: 3.903 MB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.5542, allocations: 135.3 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.5542, allocations: 1.25 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.5543, allocations: 5.344 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.5544, allocations: 21.06 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.5548, allocations: 82.62 kB / 0.8218 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.5549, allocations: 39.44 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.719e-05/0.555, allocations: 1.172 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.5551, allocations: 18.7 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.5552, allocations: 13.08 kB / 0.8219 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.5552, allocations: 2.75 kB / 0.8219 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.5555, allocations: 50.56 kB / 0.8219 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.836e-05/0.5555, allocations: 19.78 kB / 0.822 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.5556, allocations: 10.06 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.5558, allocations: 59.69 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.729e-06/0.5558, allocations: 4.797 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.038e-06/0.5558, allocations: 0 / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.5558, allocations: 0.8438 kB / 0.822 GB, free: 14.08 MB / 0.6198 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.0005344/0.5563, allocations: 263.7 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.5564, allocations: 10.5 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.5565, allocations: 31.55 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.5565, allocations: 4.875 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.5566, allocations: 106.9 kB / 0.8224 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-05/0.5567, allocations: 60.67 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.5567, allocations: 7.344 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.5569, allocations: 77.69 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5569, allocations: 0.7969 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.5569, allocations: 3.938 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.5569, allocations: 0 / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.315e-05/0.557, allocations: 16.92 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.5575, allocations: 230 kB / 0.8228 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.5575, allocations: 19.2 kB / 0.8228 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.5575, allocations: 5.75 kB / 0.8228 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.5576, allocations: 4.812 kB / 0.8228 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.5576, allocations: 44.61 kB / 0.8229 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.224e-06/0.5576, allocations: 0 / 0.8229 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.5577, allocations: 33.86 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.5578, allocations: 56 kB / 0.823 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.5578, allocations: 100.1 kB / 0.8231 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.5579, allocations: 25.7 kB / 0.8231 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.5579, allocations: 88.62 kB / 0.8232 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.5579, allocations: 7.891 kB / 0.8232 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.5579, allocations: 18.22 kB / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.558, allocations: 316.8 kB / 0.8235 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.558, allocations: 3.531 kB / 0.8235 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.5581, allocations: 27.5 kB / 0.8235 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.5581, allocations: 17.2 kB / 0.8235 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5581, allocations: 1.188 kB / 0.8235 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.436e-05/0.5582, allocations: 52.06 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5582, allocations: 2.906 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5582, allocations: 1.375 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5582, allocations: 1.031 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.5583, allocations: 6.234 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.5583, allocations: 4 kB / 0.8236 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.5583, allocations: 4.328 kB / 0.8236 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5583, allocations: 3.938 kB / 0.8236 GB, free: 12.42 MB / 0.6198 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 0.0004245/0.5587, allocations: 116.9 kB / 0.8237 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.5587, allocations: 6.641 kB / 0.8237 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.5589, allocations: 121.3 kB / 0.8238 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-05/0.5589, allocations: 178.2 kB / 0.824 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.318e-05/0.559, allocations: 186.3 kB / 0.8242 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.871e-05/0.559, allocations: 178.2 kB / 0.8244 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.5592, allocations: 380.5 kB / 0.8247 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/0.5592, allocations: 108.9 kB / 0.8248 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.5593, allocations: 103.4 kB / 0.8249 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-05/0.5593, allocations: 182 kB / 0.8251 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/0.5594, allocations: 178.4 kB / 0.8253 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.307e-05/0.5594, allocations: 180.8 kB / 0.8254 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.017e-05/0.5595, allocations: 180.8 kB / 0.8256 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.5596, allocations: 319.2 kB / 0.8259 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.5597, allocations: 103.6 kB / 0.826 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.5598, allocations: 183.5 kB / 0.8262 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5599, allocations: 117.6 kB / 0.8263 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.5599, allocations: 178.4 kB / 0.8265 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.56, allocations: 106 kB / 0.8266 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.56, allocations: 82.64 kB / 0.8267 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.56, allocations: 1.125 kB / 0.8267 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000193/0.5602, allocations: 24.22 kB / 0.8267 GB, free: 9.148 MB / 0.6198 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.0004065/0.5606, allocations: 0.8151 MB / 0.8275 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.5607, allocations: 14.64 kB / 0.8275 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5607, allocations: 0 / 0.8275 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.5607, allocations: 4.125 kB / 0.8275 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.5611, allocations: 459.6 kB / 0.8279 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/0.5621, allocations: 1.327 MB / 0.8292 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.5621, allocations: 55.89 kB / 0.8293 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.155e-05/0.5622, allocations: 11 kB / 0.8293 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.5622, allocations: 13.66 kB / 0.8293 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of SimCode: time 6.02e-07/0.5622, allocations: 0 / 0.8293 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.5803, allocations: 2.032 MB / 0.8313 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.442, allocations: 1.531 kB / 0.8313 GB, free: 5.594 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.4945328659378] Failed to read output from testmodel.py, exit status != 0: 7.519482844043523 7.535899368 6.977585424 Calling exit ...