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.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001512/0.001512, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.797 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.9398/0.9398, allocations: 145 MB / 457.4 MB, free: 15.28 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",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.002083/0.002083, allocations: 67.23 kB / 0.6331 GB, free: 6.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2005, allocations: 87.88 MB / 0.719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.007648/0.2081, allocations: 4.525 MB / 0.7234 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003329/0.2115, allocations: 2.446 MB / 0.7258 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2116, allocations: 0 / 0.7258 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.2119, allocations: 51.67 kB / 0.7258 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.2122, allocations: 99.36 kB / 0.7259 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.2137, allocations: 0.5151 MB / 0.7264 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.214, allocations: 239.9 kB / 0.7266 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.2141, allocations: 13.69 kB / 0.7266 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2143, allocations: 123.5 kB / 0.7268 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.2145, allocations: 83.66 kB / 0.7268 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.2145, allocations: 8 kB / 0.7269 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.2152, allocations: 319.4 kB / 0.7272 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.2152, allocations: 31.89 kB / 0.7272 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.652e-05/0.2153, allocations: 71.72 kB / 0.7273 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.2159, allocations: 366.8 kB / 0.7276 GB, free: 5.918 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2159, allocations: 0 / 0.7276 GB, free: 5.918 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2159, allocations: 0 / 0.7276 GB, free: 5.918 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2159, allocations: 4 kB / 0.7276 GB, free: 5.914 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.000871/0.2168, allocations: 445.4 kB / 0.728 GB, free: 5.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2168, allocations: 8.031 kB / 0.728 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.608e-05/0.2169, allocations: 50.73 kB / 0.7281 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.2171, allocations: 20.84 kB / 0.7281 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.2174, allocations: 162.2 kB / 0.7283 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2174, allocations: 12.69 kB / 0.7283 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2174, allocations: 20.38 kB / 0.7283 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.218, allocations: 491.3 kB / 0.7288 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.218, allocations: 4 kB / 0.7288 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.2181, allocations: 12 kB / 0.7288 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.2181, allocations: 4 kB / 0.7288 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.2186, allocations: 419.5 kB / 0.7292 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.2199, allocations: 0.8202 MB / 0.73 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.2202, allocations: 155.1 kB / 0.7301 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.2203, allocations: 53.53 kB / 0.7302 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008208/0.2212, allocations: 451.9 kB / 0.7306 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2212, allocations: 38.56 kB / 0.7307 GB, free: 2.559 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.2212, allocations: 0 / 0.7307 GB, free: 2.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000381/0.2216, allocations: 155.8 kB / 0.7308 GB, free: 2.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.2216, allocations: 51.41 kB / 0.7308 GB, free: 2.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2218, allocations: 175.1 kB / 0.731 GB, free: 2.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.2218, allocations: 29.7 kB / 0.731 GB, free: 2.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.222, allocations: 140.1 kB / 0.7312 GB, free: 1.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.222, allocations: 63.47 kB / 0.7312 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.2221, allocations: 53.7 kB / 0.7313 GB, free: 1.855 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2223, allocations: 326.8 kB / 0.7316 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.2224, allocations: 39.97 kB / 0.7316 GB, free: 1.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.2225, allocations: 139.4 kB / 0.7318 GB, free: 1.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.2228, allocations: 197.5 kB / 0.732 GB, free: 1.062 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2228, allocations: 0 / 0.732 GB, free: 1.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003707/0.2232, allocations: 219.5 kB / 0.7322 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.2232, allocations: 11.94 kB / 0.7322 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2232, allocations: 4 kB / 0.7322 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2233, allocations: 7.938 kB / 0.7322 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2234, allocations: 59.91 kB / 0.7323 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.2235, allocations: 7.984 kB / 0.7323 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2236, allocations: 32.25 kB / 0.7323 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2236, allocations: 16 kB / 0.7323 GB, free: 0.707 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.0001349/0.2237, allocations: 137.7 kB / 0.7324 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.2238, allocations: 15.91 kB / 0.7325 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.2241, allocations: 150.9 kB / 0.7326 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.2241, allocations: 7.938 kB / 0.7326 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2241, allocations: 4 kB / 0.7326 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2241, allocations: 0 / 0.7326 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.2244, allocations: 184.6 kB / 0.7328 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2244, allocations: 0 / 0.7328 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2245, allocations: 35.98 kB / 0.7328 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2245, allocations: 0 / 0.7328 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2245, allocations: 4 kB / 0.7328 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2246, allocations: 3.938 kB / 0.7328 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2246, allocations: 0 / 0.7328 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.2249, allocations: 230 kB / 0.733 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.2249, allocations: 31.81 kB / 0.7331 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.225, allocations: 4 kB / 0.7331 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.2252, allocations: 15.92 kB / 0.7331 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.2252, allocations: 11.98 kB / 0.7331 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2252, allocations: 15.98 kB / 0.7331 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001074/0.2253, allocations: 120.9 kB / 0.7332 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2253, allocations: 0 / 0.7332 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004045/0.2257, allocations: 79.86 kB / 0.7333 GB, free: 15.6 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.0008606/0.2266, allocations: 0.8371 MB / 0.7341 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.2268, allocations: 119.5 kB / 0.7342 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2268, allocations: 3.938 kB / 0.7342 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/0.2269, allocations: 39.92 kB / 0.7343 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.2274, allocations: 61.22 kB / 0.7343 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.2299, allocations: 2.04 MB / 0.7363 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.23, allocations: 99.22 kB / 0.7364 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.2302, allocations: 53.73 kB / 0.7365 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.2303, allocations: 47.42 kB / 0.7365 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2303, allocations: 0 / 0.7365 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.267, allocations: 6.201 MB / 0.7426 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.58, allocations: 8.5 kB / 0.7426 GB, free: 6.105 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.722735125105828] Failed to read output from testmodel.py, exit status != 0: 11.686870804056525 12.045254723 11.825839497 Calling exit ...