Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008017/0.0008018, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009365/0.0009365, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.993/0.993, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1779, allocations: 83.42 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.3329/0.5108, allocations: 13.17 MB / 0.6104 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004706/0.5156, allocations: 3.414 MB / 0.6137 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.5161, allocations: 18.53 kB / 0.6137 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.5166, allocations: 147.9 kB / 0.6139 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.5178, allocations: 488.9 kB / 0.6144 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008489/0.5187, allocations: 289.2 kB / 0.6146 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.5198, allocations: 1.245 MB / 0.6158 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.5201, allocations: 241.4 kB / 0.6161 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.5205, allocations: 315 kB / 0.6164 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.5208, allocations: 279.3 kB / 0.6166 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.5208, allocations: 11.97 kB / 0.6167 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.5212, allocations: 151.3 kB / 0.6168 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.5213, allocations: 69.27 kB / 0.6169 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.5214, allocations: 103.3 kB / 0.617 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.5218, allocations: 448.9 kB / 0.6174 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.5218, allocations: 10.94 kB / 0.6174 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5218, allocations: 0 / 0.6174 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.5218, allocations: 0 / 0.6174 GB, free: 34.23 MB / 0.4981 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.0008413/0.5226, allocations: 0.6744 MB / 0.6181 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.5227, allocations: 8.844 kB / 0.6181 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.5227, allocations: 60.28 kB / 0.6181 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.5229, allocations: 53.56 kB / 0.6182 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.5235, allocations: 460 kB / 0.6186 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5235, allocations: 24.08 kB / 0.6186 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.5236, allocations: 23.72 kB / 0.6187 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.5241, allocations: 320.7 kB / 0.619 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5241, allocations: 0 / 0.619 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.5242, allocations: 13.39 kB / 0.619 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.5242, allocations: 8.531 kB / 0.619 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.5246, allocations: 211 kB / 0.6192 GB, free: 33.31 MB / 0.4981 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.001437/0.5261, allocations: 1.48 MB / 0.6206 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.5264, allocations: 170.8 kB / 0.6208 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.5266, allocations: 73.62 kB / 0.6209 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.5268, allocations: 83.17 kB / 0.6209 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.527, allocations: 151 kB / 0.6211 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.527, allocations: 0 / 0.6211 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005204/0.5276, allocations: 244.6 kB / 0.6213 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.5276, allocations: 54.34 kB / 0.6214 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.5279, allocations: 335.3 kB / 0.6217 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.5279, allocations: 33.52 kB / 0.6217 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.528, allocations: 211.8 kB / 0.6219 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.5281, allocations: 50.34 kB / 0.622 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.5281, allocations: 6.625 kB / 0.622 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.5282, allocations: 345.9 kB / 0.6223 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.5283, allocations: 71.16 kB / 0.6224 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.5285, allocations: 156.2 kB / 0.6225 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.5287, allocations: 124.1 kB / 0.6227 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5287, allocations: 3 kB / 0.6227 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004727/0.5292, allocations: 318.6 kB / 0.623 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.5292, allocations: 34.42 kB / 0.623 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5292, allocations: 3.469 kB / 0.623 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5293, allocations: 5.875 kB / 0.623 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.5295, allocations: 54.16 kB / 0.6231 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5295, allocations: 12.92 kB / 0.6231 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.5297, allocations: 39.28 kB / 0.6231 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.5298, allocations: 13.47 kB / 0.6231 GB, free: 30.72 MB / 0.4981 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.5299, allocations: 159 kB / 0.6233 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.5299, allocations: 36.2 kB / 0.6233 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.5303, allocations: 211.7 kB / 0.6235 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5303, allocations: 2.875 kB / 0.6235 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5303, allocations: 0 / 0.6235 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003595/0.5307, allocations: 496.5 kB / 0.624 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.5311, allocations: 353.4 kB / 0.6243 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5311, allocations: 0 / 0.6243 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.5312, allocations: 35.66 kB / 0.6243 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5312, allocations: 6.297 kB / 0.6244 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.5313, allocations: 10.28 kB / 0.6244 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5313, allocations: 0 / 0.6244 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5313, allocations: 4 kB / 0.6244 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.5318, allocations: 295.1 kB / 0.6247 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.5319, allocations: 129.2 kB / 0.6248 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.5319, allocations: 7.953 kB / 0.6248 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.5321, allocations: 22.02 kB / 0.6248 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.5322, allocations: 23.5 kB / 0.6248 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.5322, allocations: 9.875 kB / 0.6248 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001718/0.5324, allocations: 234.7 kB / 0.6251 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5324, allocations: 4 kB / 0.6251 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003708/0.5328, allocations: 118 kB / 0.6252 GB, free: 29.29 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007817/0.5336, allocations: 0.9094 MB / 0.6261 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.534, allocations: 240.9 kB / 0.6263 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.534, allocations: 4.188 kB / 0.6263 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.5342, allocations: 70.27 kB / 0.6264 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/0.535, allocations: 204.2 kB / 0.6266 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.5378, allocations: 2.126 MB / 0.6286 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.538, allocations: 0.7901 MB / 0.6294 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002673/0.5383, allocations: 68.14 kB / 0.6295 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.5384, allocations: 115.5 kB / 0.6296 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.5385, allocations: 0 / 0.6296 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.5577, allocations: 9.727 MB / 0.6391 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.5579, allocations: 200.8 kB / 0.6393 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.393, allocations: 0 / 0.6393 GB, free: 25.41 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: