Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.0008006/0.0008006, 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.0008269/0.0008269, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.842/0.842, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001357/0.001357, allocations: 238.3 kB / 259.4 MB, free: 13.03 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.657/0.657, allocations: 138.4 MB / 454.3 MB, free: 29.95 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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6463 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.934e-05, allocations: 4.812 kB / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001587/0.001606, allocations: 1.283 MB / 0.6475 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2509/0.2526, allocations: 2.363 MB / 0.6498 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.2526, allocations: 0 / 0.6498 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.2526, allocations: 5.391 kB / 0.6498 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.2527, allocations: 5.406 kB / 0.6498 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.2532, allocations: 134.3 kB / 0.65 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.2533, allocations: 38.73 kB / 0.65 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.2533, allocations: 4.109 kB / 0.65 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.2534, allocations: 32.02 kB / 0.65 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.2535, allocations: 12.08 kB / 0.65 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2535, allocations: 1.812 kB / 0.65 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.2537, allocations: 101.4 kB / 0.6501 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.2538, allocations: 12.62 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.2538, allocations: 8.875 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.254, allocations: 90.98 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.254, allocations: 1.062 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.254, allocations: 0.8125 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.254, allocations: 0 / 0.6503 GB, free: 55.04 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.0003425/0.2543, allocations: 277 kB / 0.6505 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2544, allocations: 10.09 kB / 0.6505 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.612e-05/0.2544, allocations: 33 kB / 0.6506 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.2545, allocations: 19.47 kB / 0.6506 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.843e-05/0.2546, allocations: 113.3 kB / 0.6507 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2546, allocations: 3.875 kB / 0.6507 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.2546, allocations: 7.375 kB / 0.6507 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.2548, allocations: 147.8 kB / 0.6508 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2548, allocations: 192 / 0.6508 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2548, allocations: 5.281 kB / 0.6508 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2548, allocations: 2.875 kB / 0.6508 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.2548, allocations: 12.69 kB / 0.6509 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.2553, allocations: 408.1 kB / 0.6512 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.2554, allocations: 76.75 kB / 0.6513 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.2554, allocations: 27.97 kB / 0.6513 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2554, allocations: 3.938 kB / 0.6514 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.2554, allocations: 38.77 kB / 0.6514 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.2554, allocations: 0 / 0.6514 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0004818/0.2559, allocations: 231.3 kB / 0.6516 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.2559, allocations: 107.1 kB / 0.6517 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/0.256, allocations: 99.44 kB / 0.6518 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.256, allocations: 27.89 kB / 0.6518 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.256, allocations: 88.02 kB / 0.6519 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.256, allocations: 32 kB / 0.6519 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.2561, allocations: 25.5 kB / 0.652 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.2561, allocations: 321.3 kB / 0.6523 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.2561, allocations: 18.03 kB / 0.6523 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.462e-05/0.2562, allocations: 54.81 kB / 0.6523 GB, free: 53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.452e-05/0.2562, allocations: 72.05 kB / 0.6524 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2562, allocations: 0 / 0.6524 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001003/0.2563, allocations: 100.4 kB / 0.6525 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2563, allocations: 5.812 kB / 0.6525 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2563, allocations: 0.75 kB / 0.6525 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2564, allocations: 3.703 kB / 0.6525 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.2564, allocations: 24.52 kB / 0.6525 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2564, allocations: 2.828 kB / 0.6525 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.2564, allocations: 5.844 kB / 0.6526 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2564, allocations: 4.531 kB / 0.6526 GB, free: 52.9 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.618e-05/0.2565, allocations: 118 kB / 0.6527 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.2565, allocations: 8.969 kB / 0.6527 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2566, allocations: 14.59 kB / 0.6527 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2566, allocations: 2.156 kB / 0.6527 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2566, allocations: 0 / 0.6527 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2566, allocations: 2.734 kB / 0.6527 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.2568, allocations: 153.2 kB / 0.6528 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2568, allocations: 1.969 kB / 0.6528 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.2568, allocations: 19.45 kB / 0.6529 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2568, allocations: 1.938 kB / 0.6529 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.2568, allocations: 2.438 kB / 0.6529 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2568, allocations: 3.531 kB / 0.6529 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2568, allocations: 1.891 kB / 0.6529 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.257, allocations: 324.9 kB / 0.6532 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.257, allocations: 12.42 kB / 0.6532 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.257, allocations: 2.906 kB / 0.6532 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.2571, allocations: 6.297 kB / 0.6532 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.2572, allocations: 4.312 kB / 0.6532 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.2572, allocations: 9.344 kB / 0.6532 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.51e-05/0.2572, allocations: 82.52 kB / 0.6533 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2572, allocations: 0 / 0.6533 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002095/0.2574, allocations: 13.75 kB / 0.6533 GB, free: 52.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0002626/0.2576, allocations: 0.862 MB / 0.6542 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.627e-05/0.2577, allocations: 44.06 kB / 0.6542 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2577, allocations: 4.062 kB / 0.6542 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.2578, allocations: 20.61 kB / 0.6542 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.2581, allocations: 12.55 kB / 0.6542 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.259, allocations: 1.626 MB / 0.6558 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.259, allocations: 67.8 kB / 0.6559 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.2591, allocations: 9.969 kB / 0.6559 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.2591, allocations: 16.28 kB / 0.6559 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.2591, allocations: 0 / 0.6559 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.273, allocations: 2.393 MB / 0.6582 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.358/6.631, allocations: 10.75 kB / 0.6583 GB, free: 49.03 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_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_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.163349547423422] Failed to read output from testmodel.py, exit status != 0: 6.708003927953541 6.71716988 6.461291917 Calling exit ...