Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007635/0.0007635, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007878/0.0007878, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8651/0.8651, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001358/0.001358, allocations: 233.2 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6601/0.6601, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6462 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.372e-05, allocations: 2.281 kB / 0.6462 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001597/0.001621, allocations: 1.282 MB / 0.6475 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2421/0.2437, allocations: 3.067 MB / 0.6505 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.2438, allocations: 2.062 kB / 0.6505 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.2438, allocations: 1.078 kB / 0.6505 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.2439, allocations: 8.141 kB / 0.6505 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.2444, allocations: 107.9 kB / 0.6506 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.2445, allocations: 38.64 kB / 0.6506 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.2446, allocations: 8.5 kB / 0.6506 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.2446, allocations: 21.66 kB / 0.6507 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.2447, allocations: 13.62 kB / 0.6507 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2447, allocations: 2 kB / 0.6507 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.2449, allocations: 68.41 kB / 0.6508 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.2449, allocations: 8.938 kB / 0.6508 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.245, allocations: 16.16 kB / 0.6508 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.2451, allocations: 69.86 kB / 0.6508 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2451, allocations: 3.922 kB / 0.6508 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2451, allocations: 0 / 0.6508 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2451, allocations: 0 / 0.6508 GB, free: 55.21 MB / 0.5573 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.0003074/0.2454, allocations: 270.5 kB / 0.6511 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2455, allocations: 11.47 kB / 0.6511 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.2455, allocations: 43.16 kB / 0.6512 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.2456, allocations: 8 kB / 0.6512 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.614e-05/0.2457, allocations: 108.9 kB / 0.6513 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2457, allocations: 2.656 kB / 0.6513 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.2457, allocations: 7.688 kB / 0.6513 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2458, allocations: 129.9 kB / 0.6514 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2458, allocations: 192 / 0.6514 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2458, allocations: 9.344 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2458, allocations: 5.031 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.2459, allocations: 16.09 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.246, allocations: 133.9 kB / 0.6516 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.586e-05/0.2461, allocations: 51.42 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.2461, allocations: 13.16 kB / 0.6516 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.2465, allocations: 250.2 kB / 0.6519 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2465, allocations: 33.66 kB / 0.6519 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.2465, allocations: 0 / 0.6519 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0004357/0.247, allocations: 223.8 kB / 0.6521 GB, free: 54 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.247, allocations: 51.41 kB / 0.6522 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.006e-05/0.247, allocations: 97.92 kB / 0.6522 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.2471, allocations: 29.7 kB / 0.6523 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/0.2471, allocations: 98.44 kB / 0.6524 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.2471, allocations: 33.41 kB / 0.6524 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2471, allocations: 30.05 kB / 0.6524 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.992e-05/0.2471, allocations: 318.8 kB / 0.6527 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.2472, allocations: 15.08 kB / 0.6527 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.528e-05/0.2472, allocations: 53.52 kB / 0.6528 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.074e-05/0.2473, allocations: 76.77 kB / 0.6529 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2473, allocations: 0.5 kB / 0.6529 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.858e-05/0.2474, allocations: 95.64 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2474, allocations: 6.594 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2474, allocations: 3.844 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2474, allocations: 1.656 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.2474, allocations: 24.06 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2475, allocations: 5.469 kB / 0.653 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.2475, allocations: 6.438 kB / 0.653 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2475, allocations: 3.469 kB / 0.653 GB, free: 53.15 MB / 0.5573 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 4.221e-05/0.2475, allocations: 125.3 kB / 0.6531 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.2475, allocations: 3.125 kB / 0.6531 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.2476, allocations: 10.09 kB / 0.6531 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2476, allocations: 3.938 kB / 0.6531 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2476, allocations: 0 / 0.6531 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2476, allocations: 4.297 kB / 0.6532 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2477, allocations: 144.5 kB / 0.6533 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2477, allocations: 1.125 kB / 0.6533 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.2478, allocations: 20.94 kB / 0.6533 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2478, allocations: 0.7031 kB / 0.6533 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.2478, allocations: 4 kB / 0.6533 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2478, allocations: 2.156 kB / 0.6533 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2478, allocations: 1.078 kB / 0.6533 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.2479, allocations: 170.6 kB / 0.6535 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.2479, allocations: 10.64 kB / 0.6535 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2479, allocations: 5.688 kB / 0.6535 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.248, allocations: 3.594 kB / 0.6535 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.248, allocations: 7.656 kB / 0.6535 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.248, allocations: 8.062 kB / 0.6535 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.248, allocations: 79.7 kB / 0.6536 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.248, allocations: 0 / 0.6536 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001515/0.2482, allocations: 13.88 kB / 0.6536 GB, free: 52.61 MB / 0.5573 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.0002224/0.2484, allocations: 0.704 MB / 0.6543 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.2485, allocations: 57.19 kB / 0.6543 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2485, allocations: 0 / 0.6543 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.2485, allocations: 11.47 kB / 0.6544 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2487, allocations: 10.39 kB / 0.6544 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.2495, allocations: 1.471 MB / 0.6558 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.2495, allocations: 71.22 kB / 0.6559 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.2496, allocations: 9.266 kB / 0.6559 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.2496, allocations: 17.95 kB / 0.6559 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/0.2496, allocations: 0 / 0.6559 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.2654, allocations: 2.344 MB / 0.6582 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.326/6.592, allocations: 14.02 kB / 0.6582 GB, free: 49.58 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.192780428566039] Failed to read output from testmodel.py, exit status != 0: 6.668219504877925 6.676193094 6.42946901 Calling exit ...