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.001907/0.001907, 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.002347/0.002347, allocations: 214.2 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.781 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.9882/0.9882, allocations: 145 MB / 457.4 MB, free: 15.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",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.00221/0.00221, allocations: 66.75 kB / 0.6331 GB, free: 6.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.171, allocations: 87.89 MB / 0.7189 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01811/0.1891, allocations: 13.47 MB / 0.7321 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006052/0.1952, allocations: 3.391 MB / 0.7354 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.1959, allocations: 27.75 kB / 0.7354 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008874/0.1967, allocations: 206.6 kB / 0.7356 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1987, allocations: 0.622 MB / 0.7362 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1999, allocations: 397.8 kB / 0.7366 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002062/0.202, allocations: 1.106 MB / 0.7377 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/0.2026, allocations: 261.7 kB / 0.7379 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.2042, allocations: 407.4 kB / 0.7383 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.2049, allocations: 306.5 kB / 0.7386 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.2051, allocations: 32 kB / 0.7386 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009208/0.206, allocations: 219.6 kB / 0.7388 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.2063, allocations: 107.5 kB / 0.7389 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.2067, allocations: 175.2 kB / 0.7391 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.2081, allocations: 0.6266 MB / 0.7397 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2081, allocations: 4 kB / 0.7397 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2081, allocations: 0 / 0.7397 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.2081, allocations: 0 / 0.7397 GB, free: 9.406 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.001609/0.2097, allocations: 0.6893 MB / 0.7404 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.2098, allocations: 8.031 kB / 0.7404 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.853e-05/0.2099, allocations: 58.73 kB / 0.7405 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.2101, allocations: 48.69 kB / 0.7405 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009777/0.2111, allocations: 404.8 kB / 0.7409 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.2111, allocations: 32.61 kB / 0.7409 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.2112, allocations: 24 kB / 0.7409 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.2119, allocations: 416 kB / 0.7413 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.212, allocations: 0 / 0.7413 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.212, allocations: 15.98 kB / 0.7414 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.212, allocations: 4 kB / 0.7414 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.2125, allocations: 193.8 kB / 0.7415 GB, free: 7.422 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.002117/0.2147, allocations: 1.146 MB / 0.7427 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.2152, allocations: 146.6 kB / 0.7428 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.2154, allocations: 65.06 kB / 0.7429 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.2155, allocations: 12 kB / 0.7429 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.216, allocations: 238 kB / 0.7431 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.216, allocations: 0 / 0.7431 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008113/0.2168, allocations: 232.1 kB / 0.7433 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.2169, allocations: 63.38 kB / 0.7434 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.2173, allocations: 349.7 kB / 0.7437 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.2174, allocations: 33.7 kB / 0.7438 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.2176, allocations: 224.1 kB / 0.744 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.2176, allocations: 55.52 kB / 0.744 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2178, allocations: 53.66 kB / 0.7441 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.2179, allocations: 338.8 kB / 0.7444 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.2182, allocations: 105.6 kB / 0.7445 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.2185, allocations: 180 kB / 0.7447 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.2189, allocations: 244.7 kB / 0.7449 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2189, allocations: 4 kB / 0.7449 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000686/0.2196, allocations: 344.5 kB / 0.7452 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.2196, allocations: 29.7 kB / 0.7453 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2196, allocations: 4 kB / 0.7453 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2197, allocations: 7.938 kB / 0.7453 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2199, allocations: 68.2 kB / 0.7453 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2199, allocations: 4 kB / 0.7453 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.2202, allocations: 35.77 kB / 0.7454 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.2202, allocations: 8 kB / 0.7454 GB, free: 3.223 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.0001875/0.2204, allocations: 161.7 kB / 0.7455 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.2205, allocations: 35.77 kB / 0.7456 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.221, allocations: 196.4 kB / 0.7458 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.221, allocations: 7.938 kB / 0.7458 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.221, allocations: 4 kB / 0.7458 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006087/0.2216, allocations: 487.7 kB / 0.7462 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.2221, allocations: 284.6 kB / 0.7465 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2221, allocations: 0 / 0.7465 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.2223, allocations: 31.92 kB / 0.7465 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2223, allocations: 0 / 0.7465 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.2223, allocations: 7.984 kB / 0.7465 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.2223, allocations: 11.94 kB / 0.7466 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2223, allocations: 0 / 0.7466 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.223, allocations: 287.4 kB / 0.7468 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.2232, allocations: 43.88 kB / 0.7469 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.2232, allocations: 3.984 kB / 0.7469 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.2235, allocations: 27.91 kB / 0.7469 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.2236, allocations: 15.97 kB / 0.7469 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.2236, allocations: 4 kB / 0.7469 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002925/0.2239, allocations: 255.2 kB / 0.7472 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2239, allocations: 0 / 0.7472 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004934/0.2244, allocations: 123.7 kB / 0.7473 GB, free: 1.117 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.001319/0.2257, allocations: 0.923 MB / 0.7482 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.314/0.5397, allocations: 249.5 kB / 0.7484 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5397, allocations: 0 / 0.7484 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.54, allocations: 64.47 kB / 0.7485 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.541, allocations: 207.8 kB / 0.7487 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.5448, allocations: 3.181 MB / 0.7518 GB, free: 29.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.545, allocations: 185.8 kB / 0.752 GB, free: 29.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002643/0.5453, allocations: 65.58 kB / 0.752 GB, free: 29.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.5455, allocations: 115.7 kB / 0.7521 GB, free: 29.72 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.5455, allocations: 0 / 0.7521 GB, free: 29.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.5913, allocations: 11.66 MB / 0.7635 GB, free: 27.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.02, allocations: 1.375 kB / 0.7635 GB, free: 27.95 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: 15.859993140678853] Failed to read output from testmodel.py, exit status != 0: 12.1368648391217 12.159891224 11.947373903 Calling exit ...