Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001407/0.001407, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001728/0.001728, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] 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.002835/0.002835, allocations: 282 kB / 312.7 MB, free: 2.781 MB / 238.1 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 1.285/1.285, allocations: 180.6 MB / 0.5369 GB, free: 13.08 MB / 382.1 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.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002968/0.002968, allocations: 105.8 kB / 0.7396 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1796, allocations: 95.38 MB / 0.8328 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006432/0.186, allocations: 4.183 MB / 0.8369 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.1893, allocations: 2.453 MB / 0.8393 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1894, allocations: 4 kB / 0.8393 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.1897, allocations: 47.67 kB / 0.8393 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.19, allocations: 103.3 kB / 0.8394 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.1915, allocations: 0.5465 MB / 0.8399 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.1919, allocations: 259.9 kB / 0.8402 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.192, allocations: 13.73 kB / 0.8402 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.1923, allocations: 123.5 kB / 0.8403 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.1924, allocations: 99.58 kB / 0.8404 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.1925, allocations: 8 kB / 0.8404 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1935, allocations: 483.2 kB / 0.8409 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.532e-05/0.1936, allocations: 35.91 kB / 0.8409 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1937, allocations: 79.66 kB / 0.841 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.1946, allocations: 430.9 kB / 0.8414 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1946, allocations: 0 / 0.8414 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1946, allocations: 0 / 0.8414 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.1946, allocations: 0 / 0.8414 GB, free: 15.74 MB / 0.5919 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.0009061/0.1955, allocations: 449.9 kB / 0.8418 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1956, allocations: 8.75 kB / 0.8418 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.111e-05/0.1956, allocations: 58.73 kB / 0.8419 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/0.1979, allocations: 180.6 kB / 0.8421 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.1983, allocations: 158.3 kB / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.1984, allocations: 12.7 kB / 0.8422 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.1984, allocations: 16.38 kB / 0.8423 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.1992, allocations: 320.8 kB / 0.8426 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1992, allocations: 3.938 kB / 0.8426 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.1993, allocations: 12 kB / 0.8426 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.1993, allocations: 4 kB / 0.8426 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.2001, allocations: 263.6 kB / 0.8428 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.202, allocations: 1.357 MB / 0.8442 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.2027, allocations: 170.5 kB / 0.8443 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.203, allocations: 80.84 kB / 0.8444 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.203, allocations: 4 kB / 0.8444 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.203, allocations: 42.56 kB / 0.8444 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.203, allocations: 3.938 kB / 0.8444 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0008158/0.2038, allocations: 243.2 kB / 0.8447 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2039, allocations: 59.41 kB / 0.8447 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2041, allocations: 156.9 kB / 0.8449 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.2041, allocations: 29.7 kB / 0.8449 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2042, allocations: 132.2 kB / 0.845 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.2043, allocations: 67.45 kB / 0.8451 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.2044, allocations: 45.89 kB / 0.8451 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2045, allocations: 330.8 kB / 0.8455 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.2047, allocations: 72.41 kB / 0.8455 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.205, allocations: 143 kB / 0.8457 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.2055, allocations: 219 kB / 0.8459 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2055, allocations: 0 / 0.8459 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006589/0.2062, allocations: 253.2 kB / 0.8461 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2062, allocations: 8 kB / 0.8461 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2062, allocations: 4 kB / 0.8461 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2062, allocations: 3.938 kB / 0.8461 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.2067, allocations: 63.89 kB / 0.8462 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2067, allocations: 8.312 kB / 0.8462 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.2069, allocations: 31.83 kB / 0.8462 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.207, allocations: 8 kB / 0.8462 GB, free: 10.44 MB / 0.5919 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.0001467/0.2071, allocations: 137.7 kB / 0.8464 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.2072, allocations: 15.94 kB / 0.8464 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.2078, allocations: 229.2 kB / 0.8466 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.2078, allocations: 7.938 kB / 0.8466 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2078, allocations: 0 / 0.8466 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2078, allocations: 7.984 kB / 0.8466 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.2082, allocations: 216.3 kB / 0.8468 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2082, allocations: 0 / 0.8468 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.2085, allocations: 47.95 kB / 0.8469 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.2085, allocations: 4 kB / 0.8469 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2085, allocations: 0 / 0.8469 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2085, allocations: 0 / 0.8469 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2085, allocations: 0 / 0.8469 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.2091, allocations: 307.2 kB / 0.8472 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2092, allocations: 27.88 kB / 0.8472 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.2093, allocations: 4 kB / 0.8472 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.2096, allocations: 19.98 kB / 0.8472 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.2096, allocations: 7.984 kB / 0.8472 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.2097, allocations: 15.98 kB / 0.8472 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001183/0.2098, allocations: 123.7 kB / 0.8474 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2098, allocations: 0 / 0.8474 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004056/0.2102, allocations: 63.88 kB / 0.8474 GB, free: 9.156 MB / 0.5919 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.001091/0.2113, allocations: 0.8741 MB / 0.8483 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000583/0.2119, allocations: 177.8 kB / 0.8484 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2119, allocations: 4 kB / 0.8484 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.2121, allocations: 75.89 kB / 0.8485 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.2126, allocations: 59 kB / 0.8486 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.2162, allocations: 2.174 MB / 0.8507 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.2166, allocations: 0.7136 MB / 0.8514 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002844/0.2169, allocations: 61.91 kB / 0.8514 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.217, allocations: 43.42 kB / 0.8515 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of SimCode: time 6.02e-07/0.217, allocations: 0 / 0.8515 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.2521, allocations: 5.454 MB / 0.8568 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.57, allocations: 11.23 kB / 0.8568 GB, free: 15.54 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.828351001022384] Failed to read output from testmodel.py, exit status != 0: 11.674864231143147 11.698469562 11.499644226 Calling exit ...