Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.001637/0.001637, allocations: 101.6 kB / 16.4 MB, free: 6.508 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.001733/0.001734, allocations: 196.7 kB / 19.35 MB, free: 3.73 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.464/1.464, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.087/1.087, allocations: 173.4 MB / 470.6 MB, free: 13.63 MB / 382.1 MB " [Timeout remaining time 178] 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.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 68.05 kB / 0.6477 GB, free: 11.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2384, allocations: 89.52 MB / 0.7352 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002438/0.2409, allocations: 1.257 MB / 0.7364 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004081/0.245, allocations: 3.262 MB / 0.7396 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.245, allocations: 0 / 0.7396 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.245, allocations: 0 / 0.7396 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.2451, allocations: 7.938 kB / 0.7396 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.2456, allocations: 103.5 kB / 0.7397 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.384e-05/0.2457, allocations: 39.84 kB / 0.7397 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.2457, allocations: 0 / 0.7397 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.2458, allocations: 19.92 kB / 0.7397 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.2459, allocations: 19.97 kB / 0.7398 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2459, allocations: 4 kB / 0.7398 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.2461, allocations: 75.81 kB / 0.7398 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.2462, allocations: 3.938 kB / 0.7398 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.2462, allocations: 23.97 kB / 0.7399 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2464, allocations: 79.95 kB / 0.7399 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2464, allocations: 0 / 0.7399 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2464, allocations: 0 / 0.7399 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2464, allocations: 0 / 0.7399 GB, free: 13.42 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004755/0.2469, allocations: 351.3 kB / 0.7403 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.247, allocations: 15.97 kB / 0.7403 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.247, allocations: 30.75 kB / 0.7403 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.2471, allocations: 4.938 kB / 0.7403 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2473, allocations: 176.3 kB / 0.7405 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2473, allocations: 4.375 kB / 0.7405 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.2473, allocations: 4.375 kB / 0.7405 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2475, allocations: 57.61 kB / 0.7405 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2475, allocations: 3.938 kB / 0.7406 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2475, allocations: 0 / 0.7406 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2475, allocations: 0 / 0.7406 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.2476, allocations: 19.98 kB / 0.7406 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.2478, allocations: 165.6 kB / 0.7407 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.2479, allocations: 50.56 kB / 0.7408 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.248, allocations: 16.86 kB / 0.7408 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/0.2488, allocations: 0.5987 MB / 0.7414 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2488, allocations: 30.56 kB / 0.7414 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2488, allocations: 4 kB / 0.7414 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.000612/0.2494, allocations: 302.2 kB / 0.7417 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2495, allocations: 51.41 kB / 0.7417 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.2496, allocations: 109.8 kB / 0.7419 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2496, allocations: 25.7 kB / 0.7419 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.2497, allocations: 88.09 kB / 0.742 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2497, allocations: 31.73 kB / 0.742 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.2498, allocations: 25.72 kB / 0.742 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2499, allocations: 318.8 kB / 0.7423 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.2499, allocations: 15.98 kB / 0.7423 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.25, allocations: 57.02 kB / 0.7424 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.964e-05/0.2501, allocations: 69.09 kB / 0.7425 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2501, allocations: 0 / 0.7425 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001449/0.2503, allocations: 93.55 kB / 0.7425 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2503, allocations: 8 kB / 0.7426 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2503, allocations: 0 / 0.7426 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2503, allocations: 8.125 kB / 0.7426 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.2504, allocations: 19.98 kB / 0.7426 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2504, allocations: 3.938 kB / 0.7426 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.2505, allocations: 8.375 kB / 0.7426 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.2505, allocations: 11.94 kB / 0.7426 GB, free: 10.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.939e-05/0.2506, allocations: 109.8 kB / 0.7427 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2506, allocations: 3.953 kB / 0.7427 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.2507, allocations: 11.95 kB / 0.7427 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2507, allocations: 12 kB / 0.7427 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2507, allocations: 0 / 0.7427 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2507, allocations: 3.938 kB / 0.7427 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.2509, allocations: 177.7 kB / 0.7429 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.251, allocations: 0 / 0.7429 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.323e-05/0.251, allocations: 12 kB / 0.7429 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2511, allocations: 0 / 0.7429 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2511, allocations: 7.984 kB / 0.7429 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2511, allocations: 3.938 kB / 0.7429 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2511, allocations: 0 / 0.7429 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.2513, allocations: 171.5 kB / 0.7431 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.2513, allocations: 89.14 kB / 0.7432 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2514, allocations: 0 / 0.7432 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2515, allocations: 4 kB / 0.7432 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.2515, allocations: 7.922 kB / 0.7432 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2515, allocations: 4 kB / 0.7432 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.2516, allocations: 79.66 kB / 0.7433 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2516, allocations: 4 kB / 0.7433 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000256/0.2518, allocations: 12 kB / 0.7433 GB, free: 9.473 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004954/0.2523, allocations: 0.7165 MB / 0.744 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.2525, allocations: 43.95 kB / 0.744 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2525, allocations: 8.25 kB / 0.744 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.2525, allocations: 15.92 kB / 0.744 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2528, allocations: 11.94 kB / 0.7441 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.2547, allocations: 1.535 MB / 0.7456 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.2551, allocations: 0.6846 MB / 0.7462 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.325e-05/0.2551, allocations: 7.984 kB / 0.7462 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.2552, allocations: 19.38 kB / 0.7463 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.2552, allocations: 0 / 0.7463 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.2798, allocations: 1.647 MB / 0.7479 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.384, allocations: 8.719 kB / 0.7479 GB, free: 4.68 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.807346526067704] Failed to read output from testmodel.py, exit status != 0: 8.457012608996592 8.841684788 8.592835075 Calling exit ...