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.00141/0.00141, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001587/0.001587, allocations: 210.3 kB / 20.13 MB, free: 2.949 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 / 253.5 MB, free: 15.11 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.923/0.923, allocations: 144.9 MB / 454.5 MB, free: 10.01 MB / 350.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.001913/0.001913, allocations: 71.81 kB / 0.6287 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.169, allocations: 87.84 MB / 0.7145 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.0182/0.1872, allocations: 14.63 MB / 0.7287 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005923/0.1931, allocations: 3.655 MB / 0.7323 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.1937, allocations: 31.75 kB / 0.7323 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007852/0.1945, allocations: 214.7 kB / 0.7326 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.1962, allocations: 0.6122 MB / 0.7332 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1974, allocations: 397.8 kB / 0.7335 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.199, allocations: 1.075 MB / 0.7346 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004654/0.1995, allocations: 268.5 kB / 0.7348 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.2006, allocations: 402.5 kB / 0.7352 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.2011, allocations: 330.5 kB / 0.7355 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.2011, allocations: 32 kB / 0.7356 GB, free: 6.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000704/0.2019, allocations: 287.4 kB / 0.7358 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.202, allocations: 95.61 kB / 0.7359 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.2023, allocations: 218.9 kB / 0.7361 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009091/0.2032, allocations: 0.6267 MB / 0.7368 GB, free: 4.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2032, allocations: 7.938 kB / 0.7368 GB, free: 4.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2032, allocations: 0 / 0.7368 GB, free: 4.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.2032, allocations: 0 / 0.7368 GB, free: 4.805 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001253/0.2044, allocations: 0.7608 MB / 0.7375 GB, free: 3.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2045, allocations: 8.031 kB / 0.7375 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.77e-05/0.2045, allocations: 8.75 kB / 0.7375 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/0.2046, allocations: 62.72 kB / 0.7376 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.2047, allocations: 44.7 kB / 0.7376 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.2055, allocations: 486.7 kB / 0.7381 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.2056, allocations: 20.5 kB / 0.7381 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.2056, allocations: 28 kB / 0.7381 GB, free: 3.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.2063, allocations: 314.2 kB / 0.7384 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2063, allocations: 0 / 0.7384 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.2063, allocations: 12 kB / 0.7384 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.2063, allocations: 11.88 kB / 0.7385 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.2068, allocations: 194.1 kB / 0.7386 GB, free: 2.758 MB / 0.545 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.002021/0.2089, allocations: 1.489 MB / 0.7401 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.2093, allocations: 150.6 kB / 0.7402 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.2095, allocations: 60.83 kB / 0.7403 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.2097, allocations: 93.03 kB / 0.7404 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003397/0.21, allocations: 125.4 kB / 0.7405 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.21, allocations: 4 kB / 0.7405 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007033/0.2107, allocations: 237.3 kB / 0.7407 GB, free: 448 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2108, allocations: 51.41 kB / 0.7408 GB, free: 384 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.2112, allocations: 353.6 kB / 0.7411 GB, free: 24 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.2112, allocations: 29.7 kB / 0.7411 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.2114, allocations: 224.1 kB / 0.7414 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.2114, allocations: 51.53 kB / 0.7414 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.2115, allocations: 53.69 kB / 0.7415 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2117, allocations: 338.8 kB / 0.7418 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.2119, allocations: 71.95 kB / 0.7419 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.2122, allocations: 147.1 kB / 0.742 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.2126, allocations: 248.3 kB / 0.7422 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2126, allocations: 0 / 0.7422 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006451/0.2133, allocations: 316.1 kB / 0.7425 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.2133, allocations: 35.56 kB / 0.7426 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2133, allocations: 4 kB / 0.7426 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.2133, allocations: 7.938 kB / 0.7426 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.2136, allocations: 59.91 kB / 0.7426 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2136, allocations: 3.984 kB / 0.7426 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.2139, allocations: 39.77 kB / 0.7427 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.2139, allocations: 8.188 kB / 0.7427 GB, free: 14.31 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.0001788/0.2141, allocations: 161.8 kB / 0.7428 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.2141, allocations: 35.75 kB / 0.7429 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.2146, allocations: 202.3 kB / 0.7431 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2146, allocations: 0 / 0.7431 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2146, allocations: 0 / 0.7431 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005542/0.2152, allocations: 499.7 kB / 0.7435 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.2157, allocations: 349.3 kB / 0.7439 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2157, allocations: 0 / 0.7439 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.2158, allocations: 43.84 kB / 0.7439 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2158, allocations: 0 / 0.7439 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.2159, allocations: 3.938 kB / 0.7439 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2159, allocations: 0 / 0.7439 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2159, allocations: 0 / 0.7439 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.2165, allocations: 289.8 kB / 0.7442 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.2167, allocations: 120.9 kB / 0.7443 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.2167, allocations: 11.94 kB / 0.7443 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2169, allocations: 19.97 kB / 0.7443 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.217, allocations: 19.92 kB / 0.7444 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.217, allocations: 7.984 kB / 0.7444 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002724/0.2173, allocations: 251.2 kB / 0.7446 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2173, allocations: 0 / 0.7446 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004771/0.2178, allocations: 127.7 kB / 0.7447 GB, free: 12.02 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.001343/0.2191, allocations: 0.9138 MB / 0.7456 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006279/0.2198, allocations: 224.7 kB / 0.7458 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2198, allocations: 0 / 0.7458 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.22, allocations: 64.52 kB / 0.7459 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/0.2209, allocations: 213.3 kB / 0.7461 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.2255, allocations: 3.07 MB / 0.7491 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.2259, allocations: 0.7879 MB / 0.7499 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002424/0.2261, allocations: 63.19 kB / 0.7499 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.2263, allocations: 123.3 kB / 0.75 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2263, allocations: 0 / 0.75 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.2589, allocations: 10.37 MB / 0.7602 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.863/9.122, allocations: 10.98 kB / 0.7602 GB, free: 12.24 MB / 0.5762 GB " [Timeout remaining time 651] (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: 12.964308066002559] Failed to read output from testmodel.py, exit status != 0: 9.255522272957023 9.281485731 9.074144048 Calling exit ...