Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001348/0.001348, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001556/0.001556, allocations: 214.3 kB / 23.03 MB, free: 4.922 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8853/0.8853, allocations: 134 MB / 447.2 MB, free: 10.39 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001921/0.001921, allocations: 62.44 kB / 0.6192 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.185, allocations: 85.91 MB / 0.7031 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01644/0.2014, allocations: 13.48 MB / 0.7163 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005556/0.207, allocations: 3.375 MB / 0.7196 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.2074, allocations: 23.81 kB / 0.7196 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007155/0.2082, allocations: 202.7 kB / 0.7198 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.2096, allocations: 0.6298 MB / 0.7204 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.2106, allocations: 402.3 kB / 0.7208 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.212, allocations: 1.129 MB / 0.7219 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.2125, allocations: 261 kB / 0.7222 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009975/0.2135, allocations: 412.9 kB / 0.7225 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000488/0.214, allocations: 326.6 kB / 0.7229 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.214, allocations: 32 kB / 0.7229 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.2145, allocations: 223.5 kB / 0.7231 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.2146, allocations: 95.62 kB / 0.7232 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.2148, allocations: 183.1 kB / 0.7234 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008428/0.2157, allocations: 0.6033 MB / 0.724 GB, free: 11.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2157, allocations: 0 / 0.724 GB, free: 11.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.96e-06/0.2157, allocations: 4 kB / 0.724 GB, free: 11.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2157, allocations: 4 kB / 0.724 GB, free: 11.68 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.001213/0.2169, allocations: 0.6854 MB / 0.7246 GB, free: 10.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.217, allocations: 12.03 kB / 0.7246 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.013e-05/0.217, allocations: 4.688 kB / 0.7246 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.943e-05/0.217, allocations: 66.72 kB / 0.7247 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2172, allocations: 48.66 kB / 0.7248 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.218, allocations: 407.6 kB / 0.7251 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.218, allocations: 16.5 kB / 0.7252 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.218, allocations: 32 kB / 0.7252 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.2187, allocations: 420 kB / 0.7256 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2187, allocations: 0 / 0.7256 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.2188, allocations: 12 kB / 0.7256 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2188, allocations: 8 kB / 0.7256 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.2193, allocations: 193.8 kB / 0.7258 GB, free: 9.684 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.001714/0.221, allocations: 1.139 MB / 0.7269 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.2214, allocations: 154.6 kB / 0.7271 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.2216, allocations: 56.83 kB / 0.7271 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.2217, allocations: 23.92 kB / 0.7271 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.2221, allocations: 234.1 kB / 0.7274 GB, free: 7.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.2221, allocations: 0 / 0.7274 GB, free: 7.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006512/0.2227, allocations: 239.7 kB / 0.7276 GB, free: 7.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.2228, allocations: 51.41 kB / 0.7276 GB, free: 7.668 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.2232, allocations: 361.6 kB / 0.728 GB, free: 7.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.2232, allocations: 29.7 kB / 0.728 GB, free: 7.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.2234, allocations: 224.1 kB / 0.7282 GB, free: 7.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.2235, allocations: 55.53 kB / 0.7283 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.2236, allocations: 53.69 kB / 0.7283 GB, free: 6.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.2238, allocations: 342.8 kB / 0.7287 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.224, allocations: 101.6 kB / 0.7287 GB, free: 6.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.2243, allocations: 167.1 kB / 0.7289 GB, free: 6.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.2248, allocations: 249.3 kB / 0.7291 GB, free: 6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2248, allocations: 4 kB / 0.7292 GB, free: 5.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006818/0.2255, allocations: 348.5 kB / 0.7295 GB, free: 5.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.2255, allocations: 33.64 kB / 0.7295 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2255, allocations: 4 kB / 0.7295 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2255, allocations: 4 kB / 0.7295 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.2258, allocations: 59.89 kB / 0.7296 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2258, allocations: 8.25 kB / 0.7296 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.226, allocations: 39.83 kB / 0.7296 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.2261, allocations: 8 kB / 0.7296 GB, free: 5.477 MB / 0.545 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.0002038/0.2263, allocations: 161.7 kB / 0.7298 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.2263, allocations: 35.75 kB / 0.7298 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.2268, allocations: 192.5 kB / 0.73 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2268, allocations: 0 / 0.73 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2268, allocations: 8 kB / 0.73 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005966/0.2274, allocations: 489.7 kB / 0.7305 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.2279, allocations: 292.5 kB / 0.7308 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2279, allocations: 0 / 0.7308 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.228, allocations: 27.98 kB / 0.7308 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.228, allocations: 0 / 0.7308 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.2281, allocations: 7.984 kB / 0.7308 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2281, allocations: 4 kB / 0.7308 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2281, allocations: 0 / 0.7308 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.2287, allocations: 298.8 kB / 0.7311 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2288, allocations: 43.73 kB / 0.7311 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.2289, allocations: 15.92 kB / 0.7311 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2291, allocations: 11.98 kB / 0.7312 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.2292, allocations: 15.97 kB / 0.7312 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2292, allocations: 4 kB / 0.7312 GB, free: 3.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002806/0.2295, allocations: 255.2 kB / 0.7314 GB, free: 3.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2295, allocations: 4 kB / 0.7314 GB, free: 3.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004452/0.2299, allocations: 127.7 kB / 0.7315 GB, free: 3.367 MB / 0.545 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.001242/0.2312, allocations: 0.9147 MB / 0.7324 GB, free: 2.426 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.2317, allocations: 241.5 kB / 0.7327 GB, free: 2.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2317, allocations: 3.938 kB / 0.7327 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.2319, allocations: 83.88 kB / 0.7327 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009363/0.2328, allocations: 205.3 kB / 0.7329 GB, free: 1.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.2373, allocations: 3.179 MB / 0.736 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.2375, allocations: 186.1 kB / 0.7362 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.2378, allocations: 65.11 kB / 0.7363 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.2379, allocations: 119.3 kB / 0.7364 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2379, allocations: 4 kB / 0.7364 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.2725, allocations: 11.21 MB / 0.7474 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.09, allocations: 19.44 kB / 0.7474 GB, free: 3.25 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.05129928898532] Failed to read output from testmodel.py, exit status != 0: 12.260202997014858 12.588405489 12.37015392 Calling exit ...