Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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.0008459/0.0008459, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0008812/0.0008812, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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.883/0.883, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5601/0.5601, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5541 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.106e-05, allocations: 6.219 kB / 0.5541 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001838/0.001859, allocations: 1.273 MB / 0.5554 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.004767, allocations: 3.059 MB / 0.5584 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.004805, allocations: 0 / 0.5584 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.004824, allocations: 0 / 0.5584 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.004879, allocations: 11.86 kB / 0.5584 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.005383, allocations: 107.5 kB / 0.5585 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.005461, allocations: 35.86 kB / 0.5585 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.005503, allocations: 7.984 kB / 0.5585 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.005561, allocations: 23.97 kB / 0.5586 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.005626, allocations: 19.91 kB / 0.5586 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.00564, allocations: 4 kB / 0.5586 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.005832, allocations: 59.77 kB / 0.5586 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.005852, allocations: 15.92 kB / 0.5587 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.005878, allocations: 11.98 kB / 0.5587 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.006065, allocations: 67.86 kB / 0.5587 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.00607, allocations: 0 / 0.5587 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.006071, allocations: 4 kB / 0.5587 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.006077, allocations: 3.938 kB / 0.5587 GB, free: 14.1 MB / 0.5261 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.0003893/0.006466, allocations: 274.2 kB / 0.559 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.006514, allocations: 12.62 kB / 0.559 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.006549, allocations: 30.75 kB / 0.559 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.443e-05/0.006643, allocations: 8.891 kB / 0.559 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.006739, allocations: 125.7 kB / 0.5592 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006753, allocations: 384 / 0.5592 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.006782, allocations: 4.375 kB / 0.5592 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.006972, allocations: 131.3 kB / 0.5593 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006982, allocations: 8.172 kB / 0.5593 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.006998, allocations: 3.938 kB / 0.5593 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.007003, allocations: 4 kB / 0.5593 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.007058, allocations: 15.98 kB / 0.5593 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.007207, allocations: 128.8 kB / 0.5594 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.222e-05/0.007289, allocations: 50.5 kB / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.007314, allocations: 20.84 kB / 0.5595 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004987/0.007813, allocations: 250.1 kB / 0.5598 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.007833, allocations: 34.5 kB / 0.5598 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 2.024e-06/0.007835, allocations: 4 kB / 0.5598 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.000495/0.00833, allocations: 221.2 kB / 0.56 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.008364, allocations: 55.34 kB / 0.5601 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.008432, allocations: 105.8 kB / 0.5602 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.008446, allocations: 25.7 kB / 0.5602 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.00849, allocations: 92.09 kB / 0.5603 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.008506, allocations: 19.78 kB / 0.5603 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.008555, allocations: 33.61 kB / 0.5603 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.008637, allocations: 326.8 kB / 0.5606 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.008658, allocations: 8 kB / 0.5606 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.008711, allocations: 60.53 kB / 0.5607 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.008783, allocations: 73.08 kB / 0.5608 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.008785, allocations: 0 / 0.5608 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001501/0.008935, allocations: 89.56 kB / 0.5609 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.008956, allocations: 13.7 kB / 0.5609 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.008962, allocations: 4.125 kB / 0.5609 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.008982, allocations: 0 / 0.5609 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.009041, allocations: 23.94 kB / 0.5609 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.009048, allocations: 80 / 0.5609 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.009071, allocations: 4.438 kB / 0.5609 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.009078, allocations: 7.984 kB / 0.5609 GB, free: 11.59 MB / 0.5261 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 0.0003604/0.009439, allocations: 121.7 kB / 0.561 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.009456, allocations: 7.953 kB / 0.561 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.009484, allocations: 8.406 kB / 0.561 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.009489, allocations: 8 kB / 0.561 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.009493, allocations: 4 kB / 0.561 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.009497, allocations: 3.984 kB / 0.5611 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.009666, allocations: 148.8 kB / 0.5612 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.009666, allocations: 0 / 0.5612 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.009714, allocations: 15.98 kB / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.009716, allocations: 0 / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.009723, allocations: 4 kB / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.009724, allocations: 0 / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.009725, allocations: 0 / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.009895, allocations: 175.4 kB / 0.5614 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.009923, allocations: 3.953 kB / 0.5614 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.009936, allocations: 12.03 kB / 0.5614 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.009997, allocations: 7.938 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.01001, allocations: 7.938 kB / 0.5614 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01002, allocations: 0 / 0.5614 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.01005, allocations: 83.27 kB / 0.5615 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01005, allocations: 0 / 0.5615 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001638/0.01021, allocations: 12 kB / 0.5615 GB, free: 10.9 MB / 0.5261 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.0003338/0.01055, allocations: 0.7085 MB / 0.5622 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.623e-05/0.01064, allocations: 39.97 kB / 0.5622 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01064, allocations: 0 / 0.5622 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.01066, allocations: 16 kB / 0.5622 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01091, allocations: 10.38 kB / 0.5623 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.01195, allocations: 1.476 MB / 0.5637 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.012, allocations: 63.34 kB / 0.5638 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.01204, allocations: 12.05 kB / 0.5638 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.01208, allocations: 12.5 kB / 0.5638 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/0.01208, allocations: 0 / 0.5638 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.03153, allocations: 2.326 MB / 0.5661 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.337, allocations: 8.484 kB / 0.5661 GB, free: 6.227 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.980435088276863] Failed to read output from testmodel.py, exit status != 0: 7.419485104270279 7.429436551 7.421216057 Calling exit ...