Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.001226/0.001226, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001354/0.001354, allocations: 219.5 kB / 23.03 MB, free: 4.945 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002568/0.002568, allocations: 295.1 kB / 313.5 MB, free: 2.637 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.206/1.206, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="cs",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.00297/0.00297, allocations: 101.7 kB / 0.7403 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.172, allocations: 95.37 MB / 0.8334 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006389/0.1784, allocations: 4.516 MB / 0.8378 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1814, allocations: 2.457 MB / 0.8402 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.1815, allocations: 0 / 0.8402 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1818, allocations: 47.69 kB / 0.8403 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.182, allocations: 95.41 kB / 0.8404 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1833, allocations: 0.5304 MB / 0.8409 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1836, allocations: 228 kB / 0.8411 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.1836, allocations: 17.73 kB / 0.8411 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.1838, allocations: 119.5 kB / 0.8412 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.184, allocations: 91.59 kB / 0.8413 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.184, allocations: 8 kB / 0.8413 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006566/0.1847, allocations: 319.5 kB / 0.8416 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.1847, allocations: 35.78 kB / 0.8417 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.1848, allocations: 71.72 kB / 0.8417 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.1854, allocations: 367 kB / 0.8421 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1854, allocations: 0 / 0.8421 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1854, allocations: 4 kB / 0.8421 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1854, allocations: 0 / 0.8421 GB, free: 15.4 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.0007573/0.1862, allocations: 441.5 kB / 0.8425 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1862, allocations: 9.344 kB / 0.8425 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.1862, allocations: 4.516 kB / 0.8425 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.1863, allocations: 50.73 kB / 0.8426 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1864, allocations: 24.83 kB / 0.8426 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1867, allocations: 154.3 kB / 0.8427 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1867, allocations: 20.62 kB / 0.8428 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1868, allocations: 28.11 kB / 0.8428 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.1874, allocations: 484.1 kB / 0.8433 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1874, allocations: 0 / 0.8433 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.1874, allocations: 4 kB / 0.8433 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.1874, allocations: 8 kB / 0.8433 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.188, allocations: 451.3 kB / 0.8437 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1891, allocations: 0.8047 MB / 0.8445 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.1895, allocations: 151.2 kB / 0.8446 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1896, allocations: 60.88 kB / 0.8447 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007649/0.1903, allocations: 455.8 kB / 0.8451 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1903, allocations: 34.56 kB / 0.8452 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.1903, allocations: 0 / 0.8452 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003433/0.1907, allocations: 150.3 kB / 0.8453 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.1907, allocations: 55.41 kB / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1909, allocations: 171.9 kB / 0.8455 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1909, allocations: 29.7 kB / 0.8455 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.191, allocations: 156 kB / 0.8457 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.1911, allocations: 59.47 kB / 0.8457 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.1912, allocations: 53.66 kB / 0.8458 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1913, allocations: 318.8 kB / 0.8461 GB, free: 11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.1914, allocations: 47.91 kB / 0.8462 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.1915, allocations: 139.5 kB / 0.8463 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.1918, allocations: 203.7 kB / 0.8465 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1918, allocations: 0 / 0.8465 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003667/0.1922, allocations: 213.2 kB / 0.8467 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1922, allocations: 4 kB / 0.8467 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1922, allocations: 4 kB / 0.8467 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1922, allocations: 11.94 kB / 0.8467 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1924, allocations: 56.38 kB / 0.8468 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.1924, allocations: 8 kB / 0.8468 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1925, allocations: 31.73 kB / 0.8468 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.1926, allocations: 16 kB / 0.8468 GB, free: 10.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001498/0.1927, allocations: 133.7 kB / 0.8469 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.1928, allocations: 11.95 kB / 0.8469 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.1931, allocations: 169 kB / 0.8471 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1931, allocations: 0 / 0.8471 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1931, allocations: 7.984 kB / 0.8471 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1931, allocations: 0 / 0.8471 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.1934, allocations: 172.7 kB / 0.8473 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1934, allocations: 4 kB / 0.8473 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1935, allocations: 35.92 kB / 0.8473 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1935, allocations: 0 / 0.8473 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1935, allocations: 3.938 kB / 0.8473 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1935, allocations: 4 kB / 0.8473 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1935, allocations: 0 / 0.8473 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1938, allocations: 219.4 kB / 0.8475 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.1938, allocations: 31.88 kB / 0.8476 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1939, allocations: 7.938 kB / 0.8476 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1941, allocations: 11.98 kB / 0.8476 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.1941, allocations: 19.92 kB / 0.8476 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.1941, allocations: 11.98 kB / 0.8476 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.827e-05/0.1942, allocations: 120 kB / 0.8477 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1942, allocations: 0 / 0.8477 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003815/0.1946, allocations: 79.8 kB / 0.8478 GB, free: 9.086 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008578/0.1954, allocations: 0.8399 MB / 0.8486 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1957, allocations: 111.7 kB / 0.8487 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1957, allocations: 0 / 0.8487 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.1958, allocations: 39.92 kB / 0.8488 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.1962, allocations: 60.88 kB / 0.8488 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.1986, allocations: 2.044 MB / 0.8508 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.1987, allocations: 103.2 kB / 0.8509 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000162/0.1989, allocations: 57.73 kB / 0.851 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.199, allocations: 43.42 kB / 0.851 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.199, allocations: 0 / 0.851 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.2317, allocations: 5.824 MB / 0.8567 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.02, allocations: 20.31 kB / 0.8567 GB, free: 15.97 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.167194403940812] Failed to read output from testmodel.py, exit status != 0: 11.181750432006083 11.197182744 11.008744977 Calling exit ...