Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.001754/0.001754, allocations: 105.2 kB / 19.73 MB, free: 2.113 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.002197/0.002197, allocations: 217.4 kB / 23.03 MB, free: 4.91 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9334/0.9334, allocations: 145 MB / 458.2 MB, free: 15.25 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.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",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.002016/0.002016, allocations: 61.25 kB / 0.6338 GB, free: 6.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1829, allocations: 87.89 MB / 0.7197 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01716/0.2001, allocations: 13.47 MB / 0.7328 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005986/0.2061, allocations: 3.375 MB / 0.7361 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.2069, allocations: 23.81 kB / 0.7361 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009145/0.2078, allocations: 202.7 kB / 0.7363 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.2099, allocations: 0.6329 MB / 0.7369 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2112, allocations: 405.7 kB / 0.7373 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.213, allocations: 1.126 MB / 0.7384 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005079/0.2135, allocations: 261.7 kB / 0.7387 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.2151, allocations: 405.3 kB / 0.7391 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.2158, allocations: 326.6 kB / 0.7394 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.2159, allocations: 32 kB / 0.7394 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007584/0.2166, allocations: 227.5 kB / 0.7396 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.2168, allocations: 99.59 kB / 0.7397 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.217, allocations: 175.2 kB / 0.7399 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009862/0.218, allocations: 0.6266 MB / 0.7405 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.218, allocations: 4 kB / 0.7405 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.218, allocations: 0 / 0.7405 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.218, allocations: 0 / 0.7405 GB, free: 9.371 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001291/0.2193, allocations: 0.6854 MB / 0.7412 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2194, allocations: 12.03 kB / 0.7412 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.938e-05/0.2194, allocations: 4.688 kB / 0.7412 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.2194, allocations: 62.72 kB / 0.7413 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.2197, allocations: 48.7 kB / 0.7413 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.2205, allocations: 412.7 kB / 0.7417 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2205, allocations: 20.44 kB / 0.7417 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.2206, allocations: 32 kB / 0.7417 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006957/0.2213, allocations: 412 kB / 0.7421 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.2213, allocations: 4 kB / 0.7421 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.2213, allocations: 8 kB / 0.7421 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.2214, allocations: 20 kB / 0.7422 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.2219, allocations: 193.8 kB / 0.7423 GB, free: 7.367 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.2237, allocations: 1.143 MB / 0.7435 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.2241, allocations: 150.6 kB / 0.7436 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2243, allocations: 65.06 kB / 0.7437 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.2245, allocations: 12 kB / 0.7437 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.2248, allocations: 230.1 kB / 0.7439 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/0.2248, allocations: 0 / 0.7439 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006999/0.2255, allocations: 243.5 kB / 0.7441 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.2256, allocations: 59.41 kB / 0.7442 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.226, allocations: 345.7 kB / 0.7445 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.2261, allocations: 37.69 kB / 0.7446 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.2262, allocations: 212.1 kB / 0.7448 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.2263, allocations: 63.5 kB / 0.7448 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.2264, allocations: 49.7 kB / 0.7449 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.2266, allocations: 350.8 kB / 0.7452 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.2268, allocations: 97.66 kB / 0.7453 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.2271, allocations: 168.1 kB / 0.7455 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.2275, allocations: 256.6 kB / 0.7457 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2275, allocations: 0 / 0.7457 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006311/0.2281, allocations: 336.9 kB / 0.746 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.2282, allocations: 33.7 kB / 0.7461 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2282, allocations: 7.875 kB / 0.7461 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.2282, allocations: 11.92 kB / 0.7461 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.2284, allocations: 55.97 kB / 0.7461 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2284, allocations: 7.938 kB / 0.7461 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.2287, allocations: 35.77 kB / 0.7462 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.2287, allocations: 8 kB / 0.7462 GB, free: 3.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001923/0.2289, allocations: 165.8 kB / 0.7463 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.229, allocations: 31.81 kB / 0.7464 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.2295, allocations: 196.4 kB / 0.7465 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2295, allocations: 4 kB / 0.7466 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2295, allocations: 0 / 0.7466 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005507/0.23, allocations: 486.1 kB / 0.747 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.2304, allocations: 292.5 kB / 0.7473 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2304, allocations: 4 kB / 0.7473 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.2306, allocations: 35.97 kB / 0.7473 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2306, allocations: 0 / 0.7473 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.2306, allocations: 11.92 kB / 0.7473 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2306, allocations: 0 / 0.7473 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2306, allocations: 7.938 kB / 0.7474 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.2313, allocations: 288.6 kB / 0.7476 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2314, allocations: 43.83 kB / 0.7477 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.2315, allocations: 15.94 kB / 0.7477 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.2317, allocations: 11.98 kB / 0.7477 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.2318, allocations: 15.97 kB / 0.7477 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.2318, allocations: 11.98 kB / 0.7477 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002694/0.2321, allocations: 247.2 kB / 0.748 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2321, allocations: 0 / 0.748 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004554/0.2325, allocations: 127.7 kB / 0.7481 GB, free: 1.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001208/0.2337, allocations: 0.9107 MB / 0.749 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3101/0.5438, allocations: 249.4 kB / 0.7492 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5438, allocations: 0 / 0.7492 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.544, allocations: 66.72 kB / 0.7493 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.5451, allocations: 204.4 kB / 0.7495 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.5493, allocations: 3.187 MB / 0.7526 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.5496, allocations: 184.2 kB / 0.7528 GB, free: 29.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.5499, allocations: 72.42 kB / 0.7528 GB, free: 29.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.5501, allocations: 114.9 kB / 0.7529 GB, free: 29.85 MB / 0.5606 GB Notification: Performance of SimCode: time 1.342e-06/0.5501, allocations: 0 / 0.7529 GB, free: 29.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.5951, allocations: 11.28 MB / 0.7639 GB, free: 28.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.5, allocations: 13.33 kB / 0.764 GB, free: 28.49 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.313569399993867] Failed to read output from testmodel.py, exit status != 0: 12.665935902041383 12.692384914 12.468576255 Calling exit ...