Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.0009898/0.0009898, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001337/0.001337, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.957/0.957, allocations: 230.6 MB / 256 MB, free: 9.809 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.8/0.8, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",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.001159/0.001159, allocations: 70.33 kB / 0.7183 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5129, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01158/0.5245, allocations: 13.21 MB / 0.8308 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.5266, allocations: 2.677 MB / 0.8334 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.5267, allocations: 1.219 kB / 0.8334 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.5269, allocations: 47.44 kB / 0.8335 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.5271, allocations: 101.8 kB / 0.8336 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.5279, allocations: 0.5322 MB / 0.8341 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.5281, allocations: 236 kB / 0.8343 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.5282, allocations: 7.906 kB / 0.8343 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00716/0.5353, allocations: 3.601 MB / 0.8378 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.5355, allocations: 94.16 kB / 0.8379 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.5355, allocations: 8.062 kB / 0.8379 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.5374, allocations: 1.124 MB / 0.839 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.5375, allocations: 38.92 kB / 0.8391 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.5375, allocations: 83.92 kB / 0.8392 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.538, allocations: 378.4 kB / 0.8395 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.538, allocations: 0 / 0.8395 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.538, allocations: 5 kB / 0.8395 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.538, allocations: 0 / 0.8395 GB, free: 3.625 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006258/0.5387, allocations: 451.2 kB / 0.8399 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5387, allocations: 9.25 kB / 0.84 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.5388, allocations: 49.64 kB / 0.84 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.5389, allocations: 21.44 kB / 0.84 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.5391, allocations: 160.8 kB / 0.8402 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5391, allocations: 10.95 kB / 0.8402 GB, free: 3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.5391, allocations: 22.23 kB / 0.8402 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.5394, allocations: 258.8 kB / 0.8405 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5395, allocations: 0 / 0.8405 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.5395, allocations: 11.81 kB / 0.8405 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.5395, allocations: 9.172 kB / 0.8405 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.5399, allocations: 438.2 kB / 0.8409 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.5407, allocations: 0.9396 MB / 0.8418 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.5409, allocations: 159.4 kB / 0.842 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.541, allocations: 53.95 kB / 0.842 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.5415, allocations: 472.4 kB / 0.8425 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.5415, allocations: 33.06 kB / 0.8425 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.5415, allocations: 3.984 kB / 0.8425 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002517/0.5418, allocations: 151.2 kB / 0.8426 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.5418, allocations: 61.88 kB / 0.8427 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.5419, allocations: 172.9 kB / 0.8429 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.5419, allocations: 32.11 kB / 0.8429 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.542, allocations: 144 kB / 0.843 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.542, allocations: 58.56 kB / 0.8431 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.5421, allocations: 48.14 kB / 0.8431 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.5422, allocations: 326.4 kB / 0.8435 GB, free: 292 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.5422, allocations: 33.48 kB / 0.8435 GB, free: 280 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.5423, allocations: 147.8 kB / 0.8436 GB, free: 116 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.5425, allocations: 194.5 kB / 0.8438 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5425, allocations: 1.125 kB / 0.8438 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002482/0.5428, allocations: 215.1 kB / 0.844 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5428, allocations: 6.656 kB / 0.844 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5428, allocations: 3.594 kB / 0.844 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.5428, allocations: 13.36 kB / 0.844 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5429, allocations: 49.98 kB / 0.8441 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5429, allocations: 13.44 kB / 0.8441 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.543, allocations: 31.86 kB / 0.8441 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.543, allocations: 15 kB / 0.8441 GB, free: 15.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.227e-05/0.5431, allocations: 130 kB / 0.8443 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.5431, allocations: 24.09 kB / 0.8443 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.5434, allocations: 154.7 kB / 0.8444 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.5434, allocations: 6.375 kB / 0.8444 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5434, allocations: 0 / 0.8444 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5434, allocations: 5.094 kB / 0.8444 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.5435, allocations: 189 kB / 0.8446 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5435, allocations: 0 / 0.8446 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.5436, allocations: 26.98 kB / 0.8447 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5436, allocations: 1.094 kB / 0.8447 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.5436, allocations: 2 kB / 0.8447 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5436, allocations: 5 kB / 0.8447 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.5436, allocations: 0 / 0.8447 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.5438, allocations: 227.6 kB / 0.8449 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.5438, allocations: 33.91 kB / 0.8449 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.5438, allocations: 5.125 kB / 0.8449 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.5439, allocations: 15.33 kB / 0.8449 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.544, allocations: 13.42 kB / 0.8449 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.544, allocations: 13.77 kB / 0.845 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.306e-05/0.544, allocations: 115.7 kB / 0.8451 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.544, allocations: 0 / 0.8451 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002629/0.5443, allocations: 87.05 kB / 0.8452 GB, free: 14.96 MB / 0.6355 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005455/0.5448, allocations: 0.837 MB / 0.846 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.545, allocations: 112 kB / 0.8461 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.545, allocations: 1.438 kB / 0.8461 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.5451, allocations: 41.77 kB / 0.8461 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.5454, allocations: 72.02 kB / 0.8462 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.547, allocations: 2.036 MB / 0.8482 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.5472, allocations: 0.7125 MB / 0.8489 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.5473, allocations: 49.72 kB / 0.8489 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.5473, allocations: 48.7 kB / 0.849 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.5473, allocations: 1.031 kB / 0.849 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5656, allocations: 5.773 MB / 0.8546 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.551, allocations: 4.359 kB / 0.8546 GB, free: 8.609 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT_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_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.646447538165376] Failed to read output from testmodel.py, exit status != 0: 7.630954544059932 7.645780372 7.104815061 Calling exit ...