Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001286/0.001286, allocations: 101.9 kB / 20.48 MB, free: 1.246 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.001441/0.001441, allocations: 218.4 kB / 23.78 MB, free: 4.145 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.934/0.934, allocations: 150 MB / 463.9 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001906/0.001906, allocations: 62 kB / 0.6419 GB, free: 9.961 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1837, allocations: 89.17 MB / 0.729 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01596/0.1996, allocations: 13.47 MB / 0.7422 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005283/0.2049, allocations: 3.386 MB / 0.7455 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.2054, allocations: 23.81 kB / 0.7455 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007293/0.2061, allocations: 198.7 kB / 0.7457 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.2078, allocations: 0.6337 MB / 0.7463 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.2088, allocations: 403.6 kB / 0.7467 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.2103, allocations: 1.134 MB / 0.7478 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.2107, allocations: 264.9 kB / 0.7481 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.2119, allocations: 443.6 kB / 0.7485 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.2123, allocations: 326.6 kB / 0.7488 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.2124, allocations: 32 kB / 0.7488 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.2129, allocations: 227.5 kB / 0.749 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.213, allocations: 99.59 kB / 0.7491 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.2132, allocations: 175.2 kB / 0.7493 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.2141, allocations: 0.6111 MB / 0.7499 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2141, allocations: 0 / 0.7499 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2141, allocations: 0 / 0.7499 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2141, allocations: 0 / 0.7499 GB, free: 11.39 MB / 0.5762 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.001167/0.2153, allocations: 0.6816 MB / 0.7506 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2153, allocations: 12.03 kB / 0.7506 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.698e-05/0.2153, allocations: 12.69 kB / 0.7506 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.2154, allocations: 58.73 kB / 0.7506 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.2156, allocations: 52.64 kB / 0.7507 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.2163, allocations: 411.9 kB / 0.7511 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.2163, allocations: 20.5 kB / 0.7511 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.2164, allocations: 31.94 kB / 0.7511 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.2171, allocations: 416.1 kB / 0.7515 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.2171, allocations: 4 kB / 0.7515 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.2171, allocations: 8 kB / 0.7515 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.2171, allocations: 11.94 kB / 0.7516 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.2176, allocations: 193.8 kB / 0.7517 GB, free: 9.391 MB / 0.5762 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.001745/0.2194, allocations: 1.139 MB / 0.7529 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.2198, allocations: 150.6 kB / 0.753 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.22, allocations: 60.83 kB / 0.7531 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.2201, allocations: 11.92 kB / 0.7531 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003503/0.2204, allocations: 230.1 kB / 0.7533 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.2204, allocations: 0 / 0.7533 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006582/0.2211, allocations: 240 kB / 0.7535 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.2211, allocations: 59.41 kB / 0.7536 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.2215, allocations: 345.7 kB / 0.7539 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.2216, allocations: 29.7 kB / 0.7539 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.2218, allocations: 232 kB / 0.7542 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.2218, allocations: 47.59 kB / 0.7542 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.2219, allocations: 57.59 kB / 0.7543 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2221, allocations: 346.8 kB / 0.7546 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.2223, allocations: 101.7 kB / 0.7547 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.2226, allocations: 171.1 kB / 0.7548 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.223, allocations: 253.1 kB / 0.7551 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.223, allocations: 0 / 0.7551 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000625/0.2236, allocations: 344.7 kB / 0.7554 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.2237, allocations: 39.61 kB / 0.7555 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2237, allocations: 4 kB / 0.7555 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2237, allocations: 4 kB / 0.7555 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2239, allocations: 55.91 kB / 0.7555 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2239, allocations: 0 / 0.7555 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.2242, allocations: 39.77 kB / 0.7555 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.2242, allocations: 11.98 kB / 0.7556 GB, free: 5.199 MB / 0.5762 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.0001665/0.2244, allocations: 153.8 kB / 0.7557 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.2244, allocations: 43.7 kB / 0.7557 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.2249, allocations: 200.4 kB / 0.7559 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2249, allocations: 3.984 kB / 0.7559 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2249, allocations: 4 kB / 0.7559 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000542/0.2255, allocations: 487.6 kB / 0.7564 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.2259, allocations: 284.6 kB / 0.7567 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2259, allocations: 0 / 0.7567 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.2261, allocations: 47.84 kB / 0.7567 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2261, allocations: 0 / 0.7567 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2261, allocations: 0 / 0.7567 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.2261, allocations: 8 kB / 0.7567 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2261, allocations: 0 / 0.7567 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.2267, allocations: 291.4 kB / 0.757 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2268, allocations: 47.77 kB / 0.7571 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.2269, allocations: 4 kB / 0.7571 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.2271, allocations: 23.97 kB / 0.7571 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.2272, allocations: 15.92 kB / 0.7571 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.2272, allocations: 7.984 kB / 0.7571 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002693/0.2275, allocations: 247.2 kB / 0.7573 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2275, allocations: 0 / 0.7573 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004339/0.2279, allocations: 139.6 kB / 0.7575 GB, free: 3.078 MB / 0.5762 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.001207/0.2291, allocations: 0.9063 MB / 0.7584 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005345/0.2297, allocations: 248.9 kB / 0.7586 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2297, allocations: 0 / 0.7586 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.2299, allocations: 66.98 kB / 0.7587 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.2308, allocations: 213.7 kB / 0.7589 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3471/0.5779, allocations: 3.179 MB / 0.762 GB, free: 34.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.578, allocations: 187.2 kB / 0.7622 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000327/0.5784, allocations: 58.09 kB / 0.7622 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.5785, allocations: 119.8 kB / 0.7623 GB, free: 34.45 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.5785, allocations: 0 / 0.7623 GB, free: 34.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.6151, allocations: 11.19 MB / 0.7732 GB, free: 33.28 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.13, allocations: 8.484 kB / 0.7733 GB, free: 33.28 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.84464152797591] Failed to read output from testmodel.py, exit status != 0: 12.291859549004585 12.306857285 12.089923577 Calling exit ...