Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.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.001379/0.001379, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00165/0.00165, allocations: 217 kB / 22.25 MB, free: 5.082 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 8.023 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.9261/0.9261, allocations: 145 MB / 457.4 MB, free: 15.5 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.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",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.002041/0.002041, allocations: 71.11 kB / 0.6332 GB, free: 7.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1902, allocations: 87.88 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.5209/0.7112, allocations: 139.4 MB / 0.8552 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03116/0.7423, allocations: 22.53 MB / 0.8772 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.7425, allocations: 0 / 0.8772 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.7429, allocations: 51.67 kB / 0.8772 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.7434, allocations: 95.31 kB / 0.8773 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02014/0.7635, allocations: 6.719 MB / 0.8839 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006101/0.7641, allocations: 251.9 kB / 0.8841 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.235e-05/0.7642, allocations: 17.66 kB / 0.8841 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.7647, allocations: 139.5 kB / 0.8843 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.7649, allocations: 99.58 kB / 0.8844 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.7649, allocations: 8 kB / 0.8844 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02485/0.7898, allocations: 11.01 MB / 0.8951 GB, free: 8.945 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.7899, allocations: 39.83 kB / 0.8952 GB, free: 8.906 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.79, allocations: 83.64 kB / 0.8952 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.8058, allocations: 6.189 MB / 0.9013 GB, free: 2.621 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.8058, allocations: 0 / 0.9013 GB, free: 2.621 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8058, allocations: 0 / 0.9013 GB, free: 2.621 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.8058, allocations: 0 / 0.9013 GB, free: 2.621 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003797/0.8096, allocations: 1.159 MB / 0.9024 GB, free: 1.426 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8097, allocations: 12.03 kB / 0.9024 GB, free: 1.414 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.8097, allocations: 46.73 kB / 0.9025 GB, free: 1.359 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.8109, allocations: 92.75 kB / 0.9026 GB, free: 1.27 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.8112, allocations: 178.5 kB / 0.9027 GB, free: 1.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.8112, allocations: 11.94 kB / 0.9027 GB, free: 1.059 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.8112, allocations: 16 kB / 0.9028 GB, free: 1.043 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.8125, allocations: 468.7 kB / 0.9032 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.8125, allocations: 8.812 kB / 0.9032 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.8125, allocations: 8 kB / 0.9032 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.8125, allocations: 4 kB / 0.9032 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.8139, allocations: 0.6205 MB / 0.9038 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.8151, allocations: 0.8656 MB / 0.9047 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008361/0.816, allocations: 230.4 kB / 0.9049 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.8161, allocations: 65.27 kB / 0.905 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.088/0.9041, allocations: 23.3 MB / 0.9277 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.9041, allocations: 38.55 kB / 0.9277 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.9041, allocations: 0 / 0.9277 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of matching and sorting (n=25): time 0.001813/0.906, allocations: 423.3 kB / 0.9281 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.906, allocations: 55.41 kB / 0.9282 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.9061, allocations: 147.7 kB / 0.9283 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.9062, allocations: 25.7 kB / 0.9284 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.9063, allocations: 108.4 kB / 0.9285 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.9063, allocations: 91.22 kB / 0.9286 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.9065, allocations: 77.66 kB / 0.9286 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9066, allocations: 326.8 kB / 0.9289 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.9068, allocations: 79.95 kB / 0.929 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.907, allocations: 131.7 kB / 0.9291 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.9075, allocations: 230.8 kB / 0.9294 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9075, allocations: 0 / 0.9294 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007728/0.9083, allocations: 304.6 kB / 0.9297 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.9083, allocations: 4 kB / 0.9297 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.9083, allocations: 0 / 0.9297 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.9083, allocations: 4 kB / 0.9297 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.9086, allocations: 83.88 kB / 0.9297 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.9086, allocations: 5.688 kB / 0.9297 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.9088, allocations: 27.94 kB / 0.9298 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.9088, allocations: 23.98 kB / 0.9298 GB, free: 5.098 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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.0001642/0.909, allocations: 125.7 kB / 0.9299 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.9092, allocations: 23.89 kB / 0.9299 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.912, allocations: 2.479 MB / 0.9324 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.912, allocations: 11.97 kB / 0.9324 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.912, allocations: 0 / 0.9324 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.912, allocations: 7.938 kB / 0.9324 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.9159, allocations: 3.606 MB / 0.9359 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9159, allocations: 0 / 0.9359 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.9162, allocations: 55.89 kB / 0.936 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.9162, allocations: 0 / 0.936 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.9162, allocations: 19.86 kB / 0.936 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.9162, allocations: 1.312 kB / 0.936 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9162, allocations: 0 / 0.936 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.9171, allocations: 0.5585 MB / 0.9365 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.9172, allocations: 59.62 kB / 0.9366 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.9172, allocations: 11.94 kB / 0.9366 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.9175, allocations: 15.92 kB / 0.9366 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.9175, allocations: 19.97 kB / 0.9366 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.9175, allocations: 11.98 kB / 0.9366 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.427e-05/0.9176, allocations: 105.1 kB / 0.9367 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9176, allocations: 0 / 0.9367 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004223/0.9219, allocations: 1.656 MB / 0.9383 GB, free: 12.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009508/0.9314, allocations: 2.922 MB / 0.9412 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007128/0.9321, allocations: 312.4 kB / 0.9415 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9321, allocations: 0 / 0.9415 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.9324, allocations: 200.5 kB / 0.9417 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.933, allocations: 76.16 kB / 0.9418 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.9392, allocations: 3.1 MB / 0.9448 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.9396, allocations: 0.766 MB / 0.9455 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005901/0.9402, allocations: 409.1 kB / 0.9459 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.9404, allocations: 95.38 kB / 0.946 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/0.9404, allocations: 4 kB / 0.946 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/1.06, allocations: 61.54 MB / 1.006 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.17, allocations: 0.5 kB / 1.006 GB, free: 6.734 MB / 0.7794 GB " [Timeout remaining time 644] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.01676391577348] Failed to read output from testmodel.py, exit status != 0: 16.323594936868176 16.341309772 15.532165146 Calling exit ...