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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 111.5 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 202.6 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8495/0.8495, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.73 kB / 0.5911 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1902, allocations: 83.26 MB / 0.6724 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.02057/0.2108, allocations: 14.55 MB / 0.6867 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.2171, allocations: 3.659 MB / 0.6902 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007402/0.2178, allocations: 23.88 kB / 0.6903 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008646/0.2187, allocations: 214.7 kB / 0.6905 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.2206, allocations: 0.6142 MB / 0.6911 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.2218, allocations: 405.7 kB / 0.6914 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001949/0.2237, allocations: 1.094 MB / 0.6925 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005761/0.2243, allocations: 268.6 kB / 0.6928 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.2258, allocations: 441.4 kB / 0.6932 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007294/0.2265, allocations: 322.6 kB / 0.6935 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.2266, allocations: 35.94 kB / 0.6935 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007297/0.2273, allocations: 259.5 kB / 0.6938 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.2275, allocations: 107.5 kB / 0.6939 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.2278, allocations: 211 kB / 0.6941 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.2289, allocations: 0.5993 MB / 0.6947 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2289, allocations: 0 / 0.6947 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2289, allocations: 0 / 0.6947 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.229, allocations: 0 / 0.6947 GB, free: 13.07 MB / 0.5294 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.001496/0.2305, allocations: 0.757 MB / 0.6954 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2305, allocations: 15.97 kB / 0.6954 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.2307, allocations: 48.66 kB / 0.6955 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/0.2316, allocations: 471.5 kB / 0.6959 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2317, allocations: 20.56 kB / 0.6959 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.2317, allocations: 24 kB / 0.696 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.2323, allocations: 314.2 kB / 0.6963 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.2324, allocations: 3.938 kB / 0.6963 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.2324, allocations: 12 kB / 0.6963 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.2324, allocations: 8 kB / 0.6963 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.2329, allocations: 194.1 kB / 0.6965 GB, free: 11.11 MB / 0.5294 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.002165/0.2351, allocations: 1.486 MB / 0.6979 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.2356, allocations: 146.6 kB / 0.6981 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.2357, allocations: 64.81 kB / 0.6981 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.2359, allocations: 85.11 kB / 0.6982 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.2362, allocations: 135.2 kB / 0.6983 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.2362, allocations: 0 / 0.6983 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006715/0.2369, allocations: 225.3 kB / 0.6986 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.2369, allocations: 63.28 kB / 0.6986 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.2374, allocations: 361.6 kB / 0.699 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.2374, allocations: 29.7 kB / 0.699 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.2376, allocations: 220.1 kB / 0.6992 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.2377, allocations: 55.53 kB / 0.6992 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2378, allocations: 49.7 kB / 0.6993 GB, free: 8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.238, allocations: 346.8 kB / 0.6996 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.2382, allocations: 63.95 kB / 0.6997 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.2385, allocations: 153.3 kB / 0.6998 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.2389, allocations: 249.6 kB / 0.7001 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2389, allocations: 0 / 0.7001 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000642/0.2396, allocations: 302.9 kB / 0.7004 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.2396, allocations: 37.95 kB / 0.7004 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2396, allocations: 15.97 kB / 0.7004 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2396, allocations: 7.938 kB / 0.7004 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.2399, allocations: 55.91 kB / 0.7005 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.2399, allocations: 7.938 kB / 0.7005 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.2401, allocations: 31.83 kB / 0.7005 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2402, allocations: 12 kB / 0.7005 GB, free: 6.645 MB / 0.5294 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.0002027/0.2404, allocations: 165.6 kB / 0.7007 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.2404, allocations: 39.75 kB / 0.7007 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.2409, allocations: 195.5 kB / 0.7009 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2409, allocations: 0 / 0.7009 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2409, allocations: 0 / 0.7009 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005518/0.2415, allocations: 487.7 kB / 0.7014 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.242, allocations: 353.3 kB / 0.7017 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.242, allocations: 4 kB / 0.7017 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2421, allocations: 31.98 kB / 0.7017 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.2422, allocations: 7.938 kB / 0.7017 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2422, allocations: 0 / 0.7017 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.2422, allocations: 3.984 kB / 0.7018 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2422, allocations: 0 / 0.7018 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.2428, allocations: 287.5 kB / 0.702 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.243, allocations: 124.9 kB / 0.7021 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.243, allocations: 11.94 kB / 0.7022 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.2433, allocations: 19.91 kB / 0.7022 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.2434, allocations: 15.98 kB / 0.7022 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.2434, allocations: 7.984 kB / 0.7022 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002875/0.2437, allocations: 251.2 kB / 0.7024 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2437, allocations: 0 / 0.7024 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004745/0.2441, allocations: 123.7 kB / 0.7026 GB, free: 4.383 MB / 0.5294 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.0004326/0.2446, allocations: 199 kB / 0.7027 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.2451, allocations: 225.1 kB / 0.703 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2451, allocations: 0 / 0.703 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.2453, allocations: 66.91 kB / 0.703 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.2463, allocations: 210.2 kB / 0.7032 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.2479, allocations: 0.7419 MB / 0.7039 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.2483, allocations: 0.7957 MB / 0.7047 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.2486, allocations: 59.25 kB / 0.7048 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.2487, allocations: 43.36 kB / 0.7048 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.2487, allocations: 0 / 0.7048 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.01547/0.2641, allocations: 7.257 MB / 0.7119 GB, free: 10.82 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480]