Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.001349/0.001349, allocations: 105.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.001133/0.001133, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9866/0.9866, allocations: 230.6 MB / 256 MB, free: 9.609 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.8195/0.8195, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",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.001314/0.001314, allocations: 66.38 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5408, allocations: 102 MB / 0.8178 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005585/0.5464, allocations: 4.519 MB / 0.8222 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.5485, allocations: 2.458 MB / 0.8246 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.5486, allocations: 5.594 kB / 0.8246 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.5489, allocations: 46.55 kB / 0.8247 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.5492, allocations: 90.06 kB / 0.8248 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.5504, allocations: 0.5242 MB / 0.8253 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.5507, allocations: 232.6 kB / 0.8255 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.5507, allocations: 7.578 kB / 0.8255 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.5509, allocations: 130 kB / 0.8256 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.551, allocations: 84.91 kB / 0.8257 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.551, allocations: 8.594 kB / 0.8257 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.5516, allocations: 309.5 kB / 0.826 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.5517, allocations: 38.11 kB / 0.8261 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.5518, allocations: 74.03 kB / 0.8261 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.5523, allocations: 356.9 kB / 0.8265 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5523, allocations: 4 kB / 0.8265 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5523, allocations: 0.9688 kB / 0.8265 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.5523, allocations: 0.5625 kB / 0.8265 GB, free: 11.27 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.0009046/0.5532, allocations: 445.8 kB / 0.8269 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5532, allocations: 12.38 kB / 0.8269 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.5533, allocations: 50.86 kB / 0.827 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.5534, allocations: 23.84 kB / 0.827 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.5536, allocations: 151.2 kB / 0.8271 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.5536, allocations: 14.28 kB / 0.8271 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.5537, allocations: 19.34 kB / 0.8272 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.554, allocations: 491.5 kB / 0.8276 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5541, allocations: 2.172 kB / 0.8276 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.5541, allocations: 11 kB / 0.8276 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.5541, allocations: 5.547 kB / 0.8276 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.5545, allocations: 419.6 kB / 0.828 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.5554, allocations: 0.8117 MB / 0.8288 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.5557, allocations: 159.6 kB / 0.829 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.5558, allocations: 55.3 kB / 0.829 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/0.5563, allocations: 456.5 kB / 0.8295 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.5564, allocations: 42.78 kB / 0.8295 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.5564, allocations: 0 / 0.8295 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002964/0.5567, allocations: 146.5 kB / 0.8297 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.5567, allocations: 54.03 kB / 0.8297 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.5568, allocations: 177.2 kB / 0.8299 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.5568, allocations: 30.83 kB / 0.8299 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.5569, allocations: 146.4 kB / 0.83 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.557, allocations: 59.73 kB / 0.8301 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.557, allocations: 52.78 kB / 0.8302 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.5571, allocations: 327.3 kB / 0.8305 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.5572, allocations: 34.98 kB / 0.8305 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.5573, allocations: 156.4 kB / 0.8306 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.5574, allocations: 193.7 kB / 0.8308 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5574, allocations: 1.156 kB / 0.8308 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002355/0.5577, allocations: 220.8 kB / 0.831 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5577, allocations: 11.44 kB / 0.8311 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.5577, allocations: 3.438 kB / 0.8311 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.5577, allocations: 14.86 kB / 0.8311 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5578, allocations: 63.45 kB / 0.8311 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5579, allocations: 5.031 kB / 0.8311 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.5579, allocations: 24.69 kB / 0.8312 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.5579, allocations: 11.95 kB / 0.8312 GB, free: 7.723 MB / 0.6198 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.827e-05/0.558, allocations: 136.6 kB / 0.8313 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.5581, allocations: 16.59 kB / 0.8313 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.5583, allocations: 157 kB / 0.8315 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5583, allocations: 6.719 kB / 0.8315 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5583, allocations: 0 / 0.8315 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5583, allocations: 1.266 kB / 0.8315 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.5585, allocations: 183.1 kB / 0.8317 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5585, allocations: 1.281 kB / 0.8317 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.5586, allocations: 27.59 kB / 0.8317 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.5586, allocations: 0.5 kB / 0.8317 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.5586, allocations: 6.984 kB / 0.8317 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5586, allocations: 4.656 kB / 0.8317 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.5586, allocations: 4.5 kB / 0.8317 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.5588, allocations: 219.5 kB / 0.8319 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.5589, allocations: 34.38 kB / 0.8319 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.5589, allocations: 1.688 kB / 0.8319 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.559, allocations: 22.8 kB / 0.832 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.5591, allocations: 9.438 kB / 0.832 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.5591, allocations: 13.34 kB / 0.832 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.748e-05/0.5592, allocations: 119.8 kB / 0.8321 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5592, allocations: 0.625 kB / 0.8321 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003705/0.5595, allocations: 80.3 kB / 0.8322 GB, free: 6.996 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 (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.0006886/0.5602, allocations: 0.8277 MB / 0.833 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.5604, allocations: 119.7 kB / 0.8331 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5605, allocations: 1.156 kB / 0.8331 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.5605, allocations: 41.28 kB / 0.8331 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.5608, allocations: 59.53 kB / 0.8332 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.5626, allocations: 2.028 MB / 0.8352 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.5627, allocations: 106.2 kB / 0.8353 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.5629, allocations: 53.52 kB / 0.8353 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.563, allocations: 45.66 kB / 0.8354 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.563, allocations: 0 / 0.8354 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.5875, allocations: 6.093 MB / 0.8413 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.553, allocations: 10.39 kB / 0.8413 GB, free: 2.398 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterProperties_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_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.706013590097427] Failed to read output from testmodel.py, exit status != 0: 7.635609178803861 7.651384467 7.096966407 Calling exit ...