Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001302/0.001302, allocations: 115.7 kB / 17.84 MB, free: 5.312 MB / 14.72 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.001531/0.001531, allocations: 201.6 kB / 20.8 MB, free: 2.371 MB / 14.72 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 1.597/1.597, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 1.037/1.037, allocations: 150 MB / 460.2 MB, free: 5.277 MB / 350.1 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.27 kB / 0.6369 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.19, allocations: 89.13 MB / 0.7239 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006615/0.1967, allocations: 4.138 MB / 0.7279 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003325/0.2, allocations: 2.445 MB / 0.7303 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2001, allocations: 0 / 0.7303 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.2004, allocations: 51.67 kB / 0.7304 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.2007, allocations: 103.3 kB / 0.7305 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.2023, allocations: 0.5315 MB / 0.731 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.2027, allocations: 263.8 kB / 0.7312 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.2028, allocations: 5.562 kB / 0.7312 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.203, allocations: 111.6 kB / 0.7314 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.2032, allocations: 107.6 kB / 0.7315 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.2033, allocations: 8 kB / 0.7315 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.2043, allocations: 467.2 kB / 0.7319 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.2044, allocations: 47.81 kB / 0.732 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.2046, allocations: 83.59 kB / 0.732 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009989/0.2056, allocations: 419 kB / 0.7324 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2056, allocations: 0 / 0.7324 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2056, allocations: 0 / 0.7324 GB, free: 11.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.2056, allocations: 0 / 0.7324 GB, free: 11.22 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001019/0.2066, allocations: 0.5181 MB / 0.7329 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2066, allocations: 8.031 kB / 0.7329 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.238e-05/0.2067, allocations: 8.453 kB / 0.733 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/0.2067, allocations: 54.73 kB / 0.733 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/0.209, allocations: 188.6 kB / 0.7332 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.2094, allocations: 220.1 kB / 0.7334 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.2094, allocations: 16.64 kB / 0.7334 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.2095, allocations: 20.12 kB / 0.7334 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.2102, allocations: 300.2 kB / 0.7337 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2102, allocations: 4 kB / 0.7337 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.2103, allocations: 8 kB / 0.7337 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.2103, allocations: 8 kB / 0.7337 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.2111, allocations: 260.1 kB / 0.734 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.213, allocations: 1.396 MB / 0.7354 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.2137, allocations: 188.7 kB / 0.7355 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.2139, allocations: 76.75 kB / 0.7356 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.214, allocations: 4 kB / 0.7356 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.214, allocations: 34.56 kB / 0.7356 GB, free: 7.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.214, allocations: 0 / 0.7356 GB, free: 7.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0008667/0.2149, allocations: 243 kB / 0.7359 GB, free: 7.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.2149, allocations: 55.41 kB / 0.7359 GB, free: 7.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2151, allocations: 157.5 kB / 0.7361 GB, free: 7.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2151, allocations: 29.7 kB / 0.7361 GB, free: 7.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.2152, allocations: 136.1 kB / 0.7362 GB, free: 7.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.2153, allocations: 75.42 kB / 0.7363 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/0.2154, allocations: 41.94 kB / 0.7363 GB, free: 6.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2156, allocations: 334.8 kB / 0.7367 GB, free: 6.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.2158, allocations: 64.36 kB / 0.7367 GB, free: 6.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.2162, allocations: 142.3 kB / 0.7369 GB, free: 6.336 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008613/0.2171, allocations: 212.1 kB / 0.7371 GB, free: 6.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2171, allocations: 4 kB / 0.7371 GB, free: 6.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009599/0.2181, allocations: 249.1 kB / 0.7373 GB, free: 5.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.2181, allocations: 8.312 kB / 0.7373 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2181, allocations: 4 kB / 0.7373 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.2181, allocations: 4 kB / 0.7373 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.2187, allocations: 67.89 kB / 0.7374 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.2187, allocations: 4 kB / 0.7374 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.2191, allocations: 31.83 kB / 0.7374 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.2191, allocations: 8 kB / 0.7374 GB, free: 5.719 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0002175/0.2193, allocations: 141.6 kB / 0.7376 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2194, allocations: 23.89 kB / 0.7376 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.2204, allocations: 228.8 kB / 0.7378 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2204, allocations: 0 / 0.7378 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2204, allocations: 7.938 kB / 0.7378 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2204, allocations: 0 / 0.7378 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.2209, allocations: 237.5 kB / 0.738 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2209, allocations: 4 kB / 0.738 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.2214, allocations: 43.97 kB / 0.7381 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2214, allocations: 0 / 0.7381 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.2214, allocations: 8 kB / 0.7381 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2214, allocations: 7.875 kB / 0.7381 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.2214, allocations: 3.984 kB / 0.7381 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.2223, allocations: 299.3 kB / 0.7384 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.2225, allocations: 108.9 kB / 0.7385 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.2226, allocations: 4 kB / 0.7385 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.223, allocations: 19.98 kB / 0.7385 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.2231, allocations: 7.984 kB / 0.7385 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.2231, allocations: 15.98 kB / 0.7385 GB, free: 4.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001403/0.2232, allocations: 118.4 kB / 0.7387 GB, free: 4.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2232, allocations: 0 / 0.7387 GB, free: 4.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006607/0.2239, allocations: 63.94 kB / 0.7387 GB, free: 4.305 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * 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.001562/0.2255, allocations: 0.8663 MB / 0.7396 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009214/0.2264, allocations: 168.5 kB / 0.7397 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.2264, allocations: 4.625 kB / 0.7397 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.2268, allocations: 83.83 kB / 0.7398 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.2276, allocations: 59.88 kB / 0.7399 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/0.233, allocations: 2.168 MB / 0.742 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.2335, allocations: 0.7173 MB / 0.7427 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005139/0.234, allocations: 57.91 kB / 0.7427 GB, free: 0 / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.2342, allocations: 43.58 kB / 0.7428 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.2342, allocations: 0 / 0.7428 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.2618, allocations: 5.27 MB / 0.7479 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.1, allocations: 12.66 kB / 0.7479 GB, free: 10.9 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.088795943011064] Failed to read output from testmodel.py, exit status != 0: 9.231157772010192 9.257361868 9.047133362 Calling exit ...