Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001906/0.001906, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002205/0.002205, allocations: 217 kB / 23.04 MB, free: 5.074 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9194/0.9194, allocations: 145 MB / 458.2 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002125/0.002125, allocations: 70.75 kB / 0.634 GB, free: 7.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1757, allocations: 87.89 MB / 0.7198 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.007489/0.1831, allocations: 4.839 MB / 0.7245 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003408/0.1865, allocations: 2.737 MB / 0.7272 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1867, allocations: 4 kB / 0.7272 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1869, allocations: 47.67 kB / 0.7272 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.1872, allocations: 103.4 kB / 0.7273 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1885, allocations: 0.5166 MB / 0.7278 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.1888, allocations: 235.9 kB / 0.7281 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.1888, allocations: 9.75 kB / 0.7281 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.189, allocations: 115.7 kB / 0.7282 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1892, allocations: 95.59 kB / 0.7283 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1892, allocations: 8 kB / 0.7283 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000791/0.19, allocations: 399.2 kB / 0.7287 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.1901, allocations: 35.83 kB / 0.7287 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.973e-05/0.1902, allocations: 87.64 kB / 0.7288 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.1908, allocations: 374.8 kB / 0.7291 GB, free: 5.746 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1908, allocations: 0 / 0.7291 GB, free: 5.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1908, allocations: 0 / 0.7291 GB, free: 5.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1908, allocations: 0 / 0.7291 GB, free: 5.746 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.0008062/0.1916, allocations: 455.3 kB / 0.7296 GB, free: 5.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1917, allocations: 12.03 kB / 0.7296 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.785e-05/0.1917, allocations: 4.516 kB / 0.7296 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.1918, allocations: 50.73 kB / 0.7296 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1919, allocations: 24.84 kB / 0.7297 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1922, allocations: 158.2 kB / 0.7298 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1922, allocations: 12.7 kB / 0.7298 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1923, allocations: 16.12 kB / 0.7298 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.1927, allocations: 256.1 kB / 0.7301 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1927, allocations: 0 / 0.7301 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1927, allocations: 8 kB / 0.7301 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.1927, allocations: 11.98 kB / 0.7301 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.1933, allocations: 443.5 kB / 0.7305 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.1946, allocations: 0.9206 MB / 0.7314 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.1949, allocations: 157.3 kB / 0.7316 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.195, allocations: 60.88 kB / 0.7316 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007607/0.1958, allocations: 463.8 kB / 0.7321 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1958, allocations: 38.56 kB / 0.7321 GB, free: 2.496 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.1958, allocations: 0 / 0.7321 GB, free: 2.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003479/0.1962, allocations: 149.4 kB / 0.7323 GB, free: 2.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1962, allocations: 59.41 kB / 0.7323 GB, free: 2.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1964, allocations: 167.2 kB / 0.7325 GB, free: 2.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1964, allocations: 29.7 kB / 0.7325 GB, free: 2.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1965, allocations: 148 kB / 0.7327 GB, free: 1.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.1966, allocations: 51.53 kB / 0.7327 GB, free: 1.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.1966, allocations: 53.66 kB / 0.7328 GB, free: 1.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1968, allocations: 326.8 kB / 0.7331 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.1969, allocations: 35.98 kB / 0.7331 GB, free: 1.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1971, allocations: 143.4 kB / 0.7332 GB, free: 1.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.1973, allocations: 200.3 kB / 0.7334 GB, free: 1.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1973, allocations: 0 / 0.7334 GB, free: 1.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004283/0.1978, allocations: 221.1 kB / 0.7336 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1978, allocations: 6.188 kB / 0.7336 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1978, allocations: 4 kB / 0.7336 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.1978, allocations: 11.94 kB / 0.7337 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.1981, allocations: 64.25 kB / 0.7337 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1981, allocations: 8 kB / 0.7337 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1982, allocations: 31.73 kB / 0.7338 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1982, allocations: 12 kB / 0.7338 GB, free: 0.6523 MB / 0.545 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.0001293/0.1983, allocations: 129.8 kB / 0.7339 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.1984, allocations: 15.94 kB / 0.7339 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.1987, allocations: 162.8 kB / 0.7341 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1988, allocations: 0 / 0.7341 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1988, allocations: 4 kB / 0.7341 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1988, allocations: 4 kB / 0.7341 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.199, allocations: 188.6 kB / 0.7342 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.199, allocations: 0 / 0.7342 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.1991, allocations: 27.98 kB / 0.7343 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1991, allocations: 0 / 0.7343 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1992, allocations: 7.938 kB / 0.7343 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1992, allocations: 4 kB / 0.7343 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1992, allocations: 3.984 kB / 0.7343 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1995, allocations: 230.1 kB / 0.7345 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.1995, allocations: 35.86 kB / 0.7345 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.1996, allocations: 7.938 kB / 0.7346 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1998, allocations: 15.98 kB / 0.7346 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1998, allocations: 7.984 kB / 0.7346 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1998, allocations: 11.98 kB / 0.7346 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001038/0.1999, allocations: 120.9 kB / 0.7347 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1999, allocations: 0 / 0.7347 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004336/0.2004, allocations: 75.88 kB / 0.7348 GB, free: 15.55 MB / 0.5606 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.0008831/0.2013, allocations: 0.8371 MB / 0.7356 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.2015, allocations: 119.6 kB / 0.7357 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2015, allocations: 4 kB / 0.7357 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.035e-05/0.2016, allocations: 42.03 kB / 0.7357 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.2021, allocations: 52.83 kB / 0.7358 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.2047, allocations: 2.044 MB / 0.7378 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.2051, allocations: 0.7167 MB / 0.7385 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000189/0.2053, allocations: 53.73 kB / 0.7385 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.2054, allocations: 47.42 kB / 0.7386 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/0.2054, allocations: 0 / 0.7386 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.2333, allocations: 5.691 MB / 0.7441 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.56, allocations: 8 kB / 0.7442 GB, free: 5.902 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.741616421029903] Failed to read output from testmodel.py, exit status != 0: 11.719574465067126 12.054219951 11.8605214 Calling exit ...