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.001324/0.001324, allocations: 105 kB / 20.48 MB, free: 1.488 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.001539/0.001539, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.404/1.404, allocations: 230.6 MB / 257.6 MB, free: 8.035 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.9207/0.9207, allocations: 150 MB / 464 MB, free: 10.56 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.002072/0.002072, allocations: 65.7 kB / 0.642 GB, free: 10.51 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1735, allocations: 89.18 MB / 0.7291 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01695/0.1904, allocations: 14.77 MB / 0.7435 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005776/0.1962, allocations: 3.673 MB / 0.7471 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004844/0.1967, allocations: 27.81 kB / 0.7471 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.1973, allocations: 214.7 kB / 0.7473 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.1988, allocations: 0.6259 MB / 0.748 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009425/0.1997, allocations: 410.2 kB / 0.7483 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.2012, allocations: 1.134 MB / 0.7495 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.2016, allocations: 261 kB / 0.7497 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.2028, allocations: 452.4 kB / 0.7501 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.2033, allocations: 330.5 kB / 0.7505 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.2033, allocations: 36 kB / 0.7505 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006543/0.204, allocations: 283.5 kB / 0.7508 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.2041, allocations: 99.56 kB / 0.7509 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.2043, allocations: 211 kB / 0.7511 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009146/0.2052, allocations: 0.6227 MB / 0.7517 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2053, allocations: 0 / 0.7517 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2053, allocations: 8 kB / 0.7517 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2053, allocations: 0 / 0.7517 GB, free: 10.2 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.001186/0.2065, allocations: 0.6777 MB / 0.7523 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2065, allocations: 8.031 kB / 0.7523 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.178e-05/0.2065, allocations: 8.688 kB / 0.7523 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.569e-05/0.2066, allocations: 58.73 kB / 0.7524 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.2068, allocations: 52.66 kB / 0.7525 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.2075, allocations: 415.8 kB / 0.7528 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2075, allocations: 20.5 kB / 0.7529 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/0.2076, allocations: 28 kB / 0.7529 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.2082, allocations: 305.2 kB / 0.7532 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2082, allocations: 3.953 kB / 0.7532 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.2082, allocations: 16 kB / 0.7532 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.2083, allocations: 11.98 kB / 0.7532 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.2087, allocations: 193.8 kB / 0.7534 GB, free: 8.336 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.001896/0.2106, allocations: 1.417 MB / 0.7548 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.2111, allocations: 150.6 kB / 0.7549 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.2112, allocations: 64.81 kB / 0.755 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.2114, allocations: 11.98 kB / 0.755 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.2117, allocations: 135.2 kB / 0.7551 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.2117, allocations: 4 kB / 0.7551 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006533/0.2123, allocations: 229.3 kB / 0.7554 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.2124, allocations: 55.41 kB / 0.7554 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.2128, allocations: 349.7 kB / 0.7557 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.2128, allocations: 29.69 kB / 0.7558 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.213, allocations: 220 kB / 0.756 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.2131, allocations: 55.58 kB / 0.756 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.2132, allocations: 65.66 kB / 0.7561 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2133, allocations: 338.8 kB / 0.7564 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2135, allocations: 71.94 kB / 0.7565 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.2138, allocations: 153.3 kB / 0.7566 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.2142, allocations: 239 kB / 0.7569 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2143, allocations: 0 / 0.7569 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006258/0.2149, allocations: 324.7 kB / 0.7572 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.2149, allocations: 33.7 kB / 0.7572 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2149, allocations: 4 kB / 0.7572 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2149, allocations: 4 kB / 0.7572 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.2152, allocations: 51.91 kB / 0.7573 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2152, allocations: 8.297 kB / 0.7573 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.2154, allocations: 43.77 kB / 0.7573 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.2155, allocations: 16 kB / 0.7573 GB, free: 4.027 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.0001892/0.2156, allocations: 155.4 kB / 0.7575 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.2157, allocations: 43.69 kB / 0.7575 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.2162, allocations: 199.8 kB / 0.7577 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2162, allocations: 4 kB / 0.7577 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2162, allocations: 0 / 0.7577 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005444/0.2167, allocations: 483.7 kB / 0.7582 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.2172, allocations: 320.5 kB / 0.7585 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2172, allocations: 0 / 0.7585 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2174, allocations: 31.92 kB / 0.7585 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.2174, allocations: 7.938 kB / 0.7585 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2174, allocations: 4 kB / 0.7585 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2174, allocations: 4 kB / 0.7585 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2174, allocations: 0 / 0.7585 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.218, allocations: 290.5 kB / 0.7588 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.2181, allocations: 47.77 kB / 0.7588 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.2182, allocations: 4 kB / 0.7588 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2184, allocations: 23.97 kB / 0.7589 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.2185, allocations: 15.97 kB / 0.7589 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.2185, allocations: 8 kB / 0.7589 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002793/0.2188, allocations: 251.1 kB / 0.7591 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2188, allocations: 0 / 0.7591 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00044/0.2192, allocations: 131.6 kB / 0.7593 GB, free: 1.895 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.001176/0.2204, allocations: 0.9157 MB / 0.7602 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005037/0.2209, allocations: 219.2 kB / 0.7604 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2209, allocations: 0 / 0.7604 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.2211, allocations: 68.52 kB / 0.7604 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009411/0.222, allocations: 210 kB / 0.7606 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3355/0.5576, allocations: 3.059 MB / 0.7636 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5579, allocations: 0.7927 MB / 0.7644 GB, free: 34.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003773/0.5582, allocations: 59.12 kB / 0.7644 GB, free: 34.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.5584, allocations: 115.5 kB / 0.7646 GB, free: 34.09 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.5584, allocations: 0.9375 kB / 0.7646 GB, free: 34.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.5959, allocations: 10.54 MB / 0.7748 GB, free: 33.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.94, allocations: 2.812 kB / 0.7748 GB, free: 33.22 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.712703506986145] Failed to read output from testmodel.py, exit status != 0: 12.10623073199531 12.12734858 11.918273226 Calling exit ...