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.001397/0.001397, 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.001502/0.001502, 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.992 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.8784/0.8784, allocations: 145 MB / 457.4 MB, free: 15.52 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.001927/0.001927, allocations: 70.8 kB / 0.6332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 87.88 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01798/0.1862, allocations: 14.76 MB / 0.7334 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005704/0.1919, allocations: 3.663 MB / 0.737 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000508/0.1924, allocations: 27.81 kB / 0.737 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006704/0.193, allocations: 218.6 kB / 0.7372 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.1946, allocations: 0.629 MB / 0.7378 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1956, allocations: 421.6 kB / 0.7382 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.1973, allocations: 1.122 MB / 0.7393 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.1978, allocations: 253.8 kB / 0.7396 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.1989, allocations: 411.1 kB / 0.74 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.1995, allocations: 330.5 kB / 0.7403 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.1995, allocations: 32 kB / 0.7403 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006211/0.2002, allocations: 291.4 kB / 0.7406 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2003, allocations: 99.59 kB / 0.7407 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.2005, allocations: 214.9 kB / 0.7409 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009581/0.2015, allocations: 0.6305 MB / 0.7415 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2015, allocations: 4 kB / 0.7415 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2015, allocations: 0 / 0.7415 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.2015, allocations: 0 / 0.7415 GB, free: 8.27 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.00122/0.2027, allocations: 0.6893 MB / 0.7422 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2028, allocations: 8.031 kB / 0.7422 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/0.2028, allocations: 66.72 kB / 0.7422 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.203, allocations: 48.64 kB / 0.7423 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.2038, allocations: 412.7 kB / 0.7427 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.2038, allocations: 20.62 kB / 0.7427 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.2039, allocations: 28 kB / 0.7427 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.2044, allocations: 313.3 kB / 0.743 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2044, allocations: 3.938 kB / 0.743 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.2045, allocations: 8 kB / 0.743 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.2045, allocations: 8 kB / 0.743 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.205, allocations: 193.8 kB / 0.7432 GB, free: 6.402 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.001853/0.2069, allocations: 1.433 MB / 0.7446 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.2073, allocations: 146.6 kB / 0.7448 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2074, allocations: 68.77 kB / 0.7448 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.803e-05/0.2075, allocations: 11.98 kB / 0.7448 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.2078, allocations: 123.3 kB / 0.745 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.2078, allocations: 0 / 0.745 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006125/0.2084, allocations: 236.1 kB / 0.7452 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.2085, allocations: 63.33 kB / 0.7453 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.2089, allocations: 357.6 kB / 0.7456 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.2089, allocations: 29.7 kB / 0.7456 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2091, allocations: 224.1 kB / 0.7458 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.2091, allocations: 51.53 kB / 0.7459 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.2092, allocations: 49.7 kB / 0.7459 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2094, allocations: 342.8 kB / 0.7463 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.2096, allocations: 71.95 kB / 0.7463 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.2098, allocations: 142.4 kB / 0.7465 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.2103, allocations: 257.2 kB / 0.7467 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2103, allocations: 3.938 kB / 0.7467 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006182/0.2109, allocations: 311 kB / 0.747 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.2109, allocations: 33.69 kB / 0.747 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2109, allocations: 7.938 kB / 0.747 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.211, allocations: 7.938 kB / 0.7471 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.2112, allocations: 59.91 kB / 0.7471 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2112, allocations: 3.938 kB / 0.7471 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.2114, allocations: 31.83 kB / 0.7471 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2115, allocations: 12 kB / 0.7472 GB, free: 2.105 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.0001864/0.2117, allocations: 165.9 kB / 0.7473 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.2117, allocations: 31.81 kB / 0.7473 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.2122, allocations: 192.4 kB / 0.7475 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2122, allocations: 3.938 kB / 0.7475 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.2122, allocations: 0 / 0.7475 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005521/0.2127, allocations: 487.8 kB / 0.748 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.2132, allocations: 332.3 kB / 0.7483 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2132, allocations: 0 / 0.7483 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2133, allocations: 35.97 kB / 0.7483 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2133, allocations: 0 / 0.7483 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2134, allocations: 0 / 0.7483 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.2134, allocations: 7.938 kB / 0.7484 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2134, allocations: 0 / 0.7484 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.214, allocations: 287.4 kB / 0.7486 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.2141, allocations: 55.77 kB / 0.7487 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.2142, allocations: 4 kB / 0.7487 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.2144, allocations: 19.92 kB / 0.7487 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.2144, allocations: 19.97 kB / 0.7487 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2144, allocations: 7.984 kB / 0.7487 GB, free: 336 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002737/0.2147, allocations: 251.2 kB / 0.749 GB, free: 92 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2147, allocations: 0 / 0.749 GB, free: 92 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.2861/0.5008, allocations: 123.8 kB / 0.7491 GB, free: 31.89 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.001044/0.5018, allocations: 0.8988 MB / 0.75 GB, free: 31.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.5023, allocations: 221.9 kB / 0.7502 GB, free: 31.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5023, allocations: 0 / 0.7502 GB, free: 31.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.5024, allocations: 63.19 kB / 0.7502 GB, free: 31.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/0.5033, allocations: 219.2 kB / 0.7504 GB, free: 31.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.5068, allocations: 3.069 MB / 0.7534 GB, free: 29.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.507, allocations: 0.7904 MB / 0.7542 GB, free: 29.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.5073, allocations: 66.89 kB / 0.7543 GB, free: 29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.5074, allocations: 113.4 kB / 0.7544 GB, free: 28.99 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5074, allocations: 0.625 kB / 0.7544 GB, free: 28.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.5507, allocations: 10.58 MB / 0.7647 GB, free: 27.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.77, allocations: 9.844 kB / 0.7647 GB, free: 27.86 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.246656147995964] Failed to read output from testmodel.py, exit status != 0: 11.880644578952342 11.893700826 11.6895274 Calling exit ...