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.0009049/0.0009049, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009828/0.0009828, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8454/0.8454, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.001367/0.001367, allocations: 229.9 kB / 259.4 MB, free: 13.04 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.6488/0.6488, allocations: 138.4 MB / 454.3 MB, free: 30.06 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.894e-06/1.894e-06, allocations: 3.938 kB / 0.6463 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.328e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001802/0.001825, allocations: 1.286 MB / 0.6475 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2453/0.2472, allocations: 2.362 MB / 0.6498 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.2472, allocations: 0 / 0.6498 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.2472, allocations: 2.156 kB / 0.6498 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.2473, allocations: 6.375 kB / 0.6498 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.2477, allocations: 139.5 kB / 0.65 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.009e-05/0.2478, allocations: 42.72 kB / 0.65 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.2478, allocations: 3.219 kB / 0.65 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.2479, allocations: 21.98 kB / 0.65 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.2479, allocations: 18.5 kB / 0.65 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.248, allocations: 2.031 kB / 0.6501 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.2482, allocations: 106 kB / 0.6502 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.2482, allocations: 4.969 kB / 0.6502 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.2482, allocations: 16.8 kB / 0.6502 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2484, allocations: 83.3 kB / 0.6503 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2484, allocations: 0 / 0.6503 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2484, allocations: 2.5 kB / 0.6503 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2484, allocations: 0 / 0.6503 GB, free: 55.32 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.0002812/0.2486, allocations: 275.8 kB / 0.6505 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2487, allocations: 10.91 kB / 0.6505 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.206e-05/0.2487, allocations: 37.2 kB / 0.6506 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.2488, allocations: 15.73 kB / 0.6506 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.659e-05/0.2489, allocations: 114.1 kB / 0.6507 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2489, allocations: 6.219 kB / 0.6507 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.2489, allocations: 5.156 kB / 0.6507 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.249, allocations: 150 kB / 0.6508 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.249, allocations: 1.812 kB / 0.6508 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.249, allocations: 5.688 kB / 0.6508 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.249, allocations: 0.8438 kB / 0.6508 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.2491, allocations: 18.36 kB / 0.6509 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.2495, allocations: 401.5 kB / 0.6512 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.2495, allocations: 79.45 kB / 0.6513 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.2496, allocations: 22.52 kB / 0.6513 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.2496, allocations: 1.688 kB / 0.6513 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.2496, allocations: 42.41 kB / 0.6514 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.2496, allocations: 2.344 kB / 0.6514 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0004175/0.25, allocations: 227.7 kB / 0.6516 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.25, allocations: 108.9 kB / 0.6517 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.275e-05/0.2501, allocations: 98.05 kB / 0.6518 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.2501, allocations: 33.44 kB / 0.6518 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.2501, allocations: 85.69 kB / 0.6519 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.2501, allocations: 30.28 kB / 0.6519 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.2501, allocations: 26.44 kB / 0.652 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.514e-05/0.2501, allocations: 318.7 kB / 0.6523 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.2502, allocations: 13.08 kB / 0.6523 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.2502, allocations: 57.62 kB / 0.6523 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.425e-05/0.2503, allocations: 78.59 kB / 0.6524 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2503, allocations: 1.812 kB / 0.6524 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.759e-05/0.2503, allocations: 97.39 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2504, allocations: 6.438 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2504, allocations: 2.578 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2504, allocations: 3.844 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.2504, allocations: 17.66 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2504, allocations: 3.406 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.2504, allocations: 1.969 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.2505, allocations: 8.5 kB / 0.6526 GB, free: 53.18 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.044e-05/0.2505, allocations: 123.8 kB / 0.6527 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.2505, allocations: 9.438 kB / 0.6527 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.2506, allocations: 8.047 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2506, allocations: 2.5 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2506, allocations: 2.703 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2506, allocations: 2.203 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2508, allocations: 149.9 kB / 0.6528 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2508, allocations: 2.094 kB / 0.6528 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.2508, allocations: 14.94 kB / 0.6529 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2508, allocations: 8.438 kB / 0.6529 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2508, allocations: 1.906 kB / 0.6529 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2508, allocations: 2.859 kB / 0.6529 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2508, allocations: 1.562 kB / 0.6529 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2509, allocations: 327.5 kB / 0.6532 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.251, allocations: 9.984 kB / 0.6532 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.251, allocations: 2.797 kB / 0.6532 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.2511, allocations: 7.5 kB / 0.6532 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.2511, allocations: 4.219 kB / 0.6532 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.2511, allocations: 3.375 kB / 0.6532 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.333e-05/0.2511, allocations: 85.5 kB / 0.6533 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2511, allocations: 0 / 0.6533 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001955/0.2513, allocations: 14.16 kB / 0.6533 GB, free: 52.53 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.000238/0.2515, allocations: 0.8625 MB / 0.6541 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.8e-05/0.2516, allocations: 50.5 kB / 0.6542 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2516, allocations: 2 kB / 0.6542 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.2517, allocations: 13.94 kB / 0.6542 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.252, allocations: 11.44 kB / 0.6542 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/0.2528, allocations: 1.633 MB / 0.6558 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.2528, allocations: 69.47 kB / 0.6559 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.2529, allocations: 8.516 kB / 0.6559 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.2529, allocations: 16.48 kB / 0.6559 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/0.2529, allocations: 1.656 kB / 0.6559 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.2679, allocations: 2.39 MB / 0.6582 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.42/6.688, allocations: 17.8 kB / 0.6583 GB, free: 49.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 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.129558539018035] Failed to read output from testmodel.py, exit status != 0: 6.765831998549402 6.772711046 6.522674193 Calling exit ...