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.001664/0.001664, allocations: 98.08 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.001996/0.001996, allocations: 219.6 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8 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.9219/0.9219, allocations: 145 MB / 458.2 MB, free: 15.56 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.002088/0.002088, allocations: 63.44 kB / 0.6339 GB, free: 7.359 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1822, allocations: 87.89 MB / 0.7198 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01749/0.1997, allocations: 14.76 MB / 0.7342 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00617/0.2059, allocations: 3.679 MB / 0.7378 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008033/0.2067, allocations: 23.81 kB / 0.7378 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.2074, allocations: 206.7 kB / 0.738 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.2092, allocations: 0.622 MB / 0.7386 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2103, allocations: 423.6 kB / 0.739 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.2119, allocations: 1.126 MB / 0.7401 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.2124, allocations: 249.8 kB / 0.7403 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.2135, allocations: 404.7 kB / 0.7407 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.2139, allocations: 330.5 kB / 0.741 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.214, allocations: 32 kB / 0.7411 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.2146, allocations: 291.5 kB / 0.7413 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2147, allocations: 99.56 kB / 0.7414 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.215, allocations: 218.9 kB / 0.7416 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000923/0.2159, allocations: 0.6383 MB / 0.7423 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2159, allocations: 0 / 0.7423 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2159, allocations: 0 / 0.7423 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.2159, allocations: 0 / 0.7423 GB, free: 8.32 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.001259/0.2172, allocations: 0.6854 MB / 0.7429 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2172, allocations: 16.03 kB / 0.7429 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.971e-05/0.2172, allocations: 12.62 kB / 0.743 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.779e-05/0.2173, allocations: 58.73 kB / 0.743 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.2175, allocations: 52.69 kB / 0.7431 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.2183, allocations: 400.8 kB / 0.7434 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2183, allocations: 24.44 kB / 0.7435 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.2184, allocations: 39.91 kB / 0.7435 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.219, allocations: 305.3 kB / 0.7438 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.219, allocations: 4 kB / 0.7438 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.219, allocations: 8 kB / 0.7438 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.219, allocations: 8 kB / 0.7438 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.2195, allocations: 197.8 kB / 0.744 GB, free: 6.441 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.0019/0.2214, allocations: 1.425 MB / 0.7454 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.2219, allocations: 150.6 kB / 0.7455 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.2221, allocations: 64.81 kB / 0.7456 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.2222, allocations: 4 kB / 0.7456 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.2225, allocations: 139.2 kB / 0.7457 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.2225, allocations: 0 / 0.7457 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000722/0.2232, allocations: 233.3 kB / 0.746 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.2233, allocations: 55.41 kB / 0.746 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.2237, allocations: 357.6 kB / 0.7464 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2238, allocations: 29.7 kB / 0.7464 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.2239, allocations: 216.1 kB / 0.7466 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.224, allocations: 55.53 kB / 0.7466 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.2241, allocations: 53.7 kB / 0.7467 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2243, allocations: 342.8 kB / 0.747 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.2245, allocations: 71.89 kB / 0.7471 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.2248, allocations: 150.3 kB / 0.7472 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.2252, allocations: 249.1 kB / 0.7475 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2252, allocations: 0 / 0.7475 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006313/0.2258, allocations: 310.8 kB / 0.7478 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.2259, allocations: 37.7 kB / 0.7478 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2259, allocations: 8.312 kB / 0.7478 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.2259, allocations: 7.938 kB / 0.7478 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.2261, allocations: 55.89 kB / 0.7479 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.2261, allocations: 7.984 kB / 0.7479 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.2264, allocations: 31.83 kB / 0.7479 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2264, allocations: 16 kB / 0.7479 GB, free: 2.148 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.000171/0.2266, allocations: 157.7 kB / 0.7481 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.2267, allocations: 39.81 kB / 0.7481 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.2272, allocations: 203 kB / 0.7483 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2272, allocations: 0 / 0.7483 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2272, allocations: 0 / 0.7483 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005569/0.2277, allocations: 479.8 kB / 0.7488 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.2282, allocations: 332.4 kB / 0.7491 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2282, allocations: 4 kB / 0.7491 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2284, allocations: 31.92 kB / 0.7491 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.2284, allocations: 7.984 kB / 0.7491 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.2284, allocations: 11.92 kB / 0.7491 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2284, allocations: 0 / 0.7491 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2284, allocations: 0 / 0.7491 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.2291, allocations: 286.1 kB / 0.7494 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.2292, allocations: 55.77 kB / 0.7495 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.2292, allocations: 7.938 kB / 0.7495 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.2295, allocations: 19.97 kB / 0.7495 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.2295, allocations: 11.97 kB / 0.7495 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.2296, allocations: 12 kB / 0.7495 GB, free: 376 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000273/0.2298, allocations: 247.2 kB / 0.7497 GB, free: 136 kB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2298, allocations: 3.938 kB / 0.7498 GB, free: 132 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004505/0.2303, allocations: 131.7 kB / 0.7499 GB, free: 0 / 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.33/0.5603, allocations: 0.8915 MB / 0.7507 GB, free: 31.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000557/0.5609, allocations: 226.3 kB / 0.751 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5609, allocations: 0 / 0.751 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.561, allocations: 69.89 kB / 0.751 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5621, allocations: 206.1 kB / 0.7512 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.5678, allocations: 3.067 MB / 0.7542 GB, free: 29.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.5682, allocations: 0.7865 MB / 0.755 GB, free: 29.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004678/0.5687, allocations: 65 kB / 0.7551 GB, free: 29.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.5689, allocations: 118.9 kB / 0.7552 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/0.5689, allocations: 0.6562 kB / 0.7552 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.6074, allocations: 10.61 MB / 0.7655 GB, free: 27.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.22, allocations: 15.2 kB / 0.7655 GB, free: 27.83 MB / 0.5606 GB " [Timeout remaining time 648] (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.029085344052874] Failed to read output from testmodel.py, exit status != 0: 12.38178264501039 12.395794806 12.176748977 Calling exit ...