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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 102.9 kB / 16.27 MB, free: 5.965 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.001496/0.001496, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.818/0.818, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 71.88 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4847, allocations: 77.92 MB / 0.5672 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01666/0.5014, allocations: 14.4 MB / 0.5813 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005777/0.5072, allocations: 3.641 MB / 0.5848 GB, free: 19.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00081/0.5081, allocations: 20.53 kB / 0.5848 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000753/0.5088, allocations: 197.5 kB / 0.585 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.5107, allocations: 0.5927 MB / 0.5856 GB, free: 19.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.5119, allocations: 384 kB / 0.586 GB, free: 18.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.5133, allocations: 1.086 MB / 0.587 GB, free: 18.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.5137, allocations: 333.5 kB / 0.5873 GB, free: 18.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.5148, allocations: 390.8 kB / 0.5877 GB, free: 17.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.5152, allocations: 302.3 kB / 0.588 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.5153, allocations: 32.56 kB / 0.588 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007143/0.516, allocations: 260.9 kB / 0.5883 GB, free: 17.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.5161, allocations: 93.3 kB / 0.5884 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.5163, allocations: 218 kB / 0.5886 GB, free: 17.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008069/0.5171, allocations: 0.5799 MB / 0.5891 GB, free: 16.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5172, allocations: 3.938 kB / 0.5891 GB, free: 16.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5172, allocations: 0.6875 kB / 0.5891 GB, free: 16.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.5172, allocations: 1.281 kB / 0.5891 GB, free: 16.98 MB / 446.1 MB 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.001055/0.5182, allocations: 0.7472 MB / 0.5899 GB, free: 16.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5183, allocations: 9.781 kB / 0.5899 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.5185, allocations: 53.62 kB / 0.5899 GB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006385/0.5192, allocations: 444.6 kB / 0.5904 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.5192, allocations: 19.72 kB / 0.5904 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.5193, allocations: 31.12 kB / 0.5904 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.5198, allocations: 310.9 kB / 0.5907 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5198, allocations: 1.281 kB / 0.5907 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.5199, allocations: 11.88 kB / 0.5907 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.5199, allocations: 6.406 kB / 0.5907 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.5204, allocations: 192.4 kB / 0.5909 GB, free: 15.57 MB / 446.1 MB 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.001563/0.5219, allocations: 1.493 MB / 0.5924 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.5224, allocations: 159.9 kB / 0.5925 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.5226, allocations: 65.45 kB / 0.5926 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.5227, allocations: 93.31 kB / 0.5927 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.523, allocations: 128.5 kB / 0.5928 GB, free: 13.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.043e-06/0.5231, allocations: 0.6875 kB / 0.5928 GB, free: 13.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006567/0.5237, allocations: 236.1 kB / 0.593 GB, free: 13.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.5238, allocations: 58.78 kB / 0.5931 GB, free: 13.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.5241, allocations: 351.1 kB / 0.5934 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.5242, allocations: 27.95 kB / 0.5934 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.5243, allocations: 216.5 kB / 0.5936 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.5244, allocations: 55.22 kB / 0.5937 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/0.5245, allocations: 52.64 kB / 0.5937 GB, free: 13.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.5246, allocations: 342.8 kB / 0.5941 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.5248, allocations: 72.52 kB / 0.5941 GB, free: 12.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.525, allocations: 143 kB / 0.5943 GB, free: 12.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.5254, allocations: 252.3 kB / 0.5945 GB, free: 12.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5254, allocations: 1.188 kB / 0.5945 GB, free: 12.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005909/0.526, allocations: 311.8 kB / 0.5948 GB, free: 12.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.526, allocations: 32.45 kB / 0.5948 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.526, allocations: 2.625 kB / 0.5949 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5261, allocations: 8.312 kB / 0.5949 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.5263, allocations: 58.11 kB / 0.5949 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.5263, allocations: 8.656 kB / 0.5949 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.5266, allocations: 35.95 kB / 0.595 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.5266, allocations: 13.09 kB / 0.595 GB, free: 12.18 MB / 446.1 MB 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.0001701/0.5268, allocations: 161.1 kB / 0.5951 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.5269, allocations: 31.44 kB / 0.5952 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.5273, allocations: 191.1 kB / 0.5953 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5273, allocations: 18.2 kB / 0.5954 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5273, allocations: 0 / 0.5954 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004182/0.5278, allocations: 484.5 kB / 0.5958 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.5282, allocations: 353.9 kB / 0.5962 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5282, allocations: 0 / 0.5962 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.5283, allocations: 32.09 kB / 0.5962 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5284, allocations: 1 kB / 0.5962 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.5284, allocations: 9.062 kB / 0.5962 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.5284, allocations: 5.188 kB / 0.5962 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5284, allocations: 4 kB / 0.5962 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.529, allocations: 282.7 kB / 0.5965 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5291, allocations: 126.6 kB / 0.5966 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.5292, allocations: 0.9688 kB / 0.5966 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.5294, allocations: 28.09 kB / 0.5966 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.5295, allocations: 14.98 kB / 0.5966 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.5295, allocations: 9.109 kB / 0.5966 GB, free: 10.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.5297, allocations: 246 kB / 0.5969 GB, free: 10.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5298, allocations: 1.344 kB / 0.5969 GB, free: 10.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004853/0.5302, allocations: 126.4 kB / 0.597 GB, free: 10.53 MB / 446.1 MB 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.0003408/0.5306, allocations: 197.7 kB / 0.5972 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.5311, allocations: 239.9 kB / 0.5974 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5312, allocations: 0 / 0.5974 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.5313, allocations: 69.33 kB / 0.5975 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009886/0.5323, allocations: 214.2 kB / 0.5977 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.5338, allocations: 0.7433 MB / 0.5984 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5341, allocations: 0.7866 MB / 0.5992 GB, free: 8.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.5344, allocations: 68.09 kB / 0.5992 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.186e-05/0.5345, allocations: 42.17 kB / 0.5993 GB, free: 8.793 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5345, allocations: 0 / 0.5993 GB, free: 8.793 MB / 446.1 MB Notification: Performance of Templates: time 0.012/0.5465, allocations: 7.141 MB / 0.6063 GB, free: 2.254 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (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)