Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.006498/0.006498, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001452/0.001452, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9539/0.9539, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 63.91 kB / 0.595 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.369, allocations: 82.03 MB / 0.6752 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05152/0.4205, allocations: 55.99 MB / 0.7298 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.4439, allocations: 17.96 MB / 0.7474 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.4466, allocations: 79.56 kB / 0.7474 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.4492, allocations: 0.9119 MB / 0.7483 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00676/0.456, allocations: 2.62 MB / 0.7509 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.4597, allocations: 1.543 MB / 0.7524 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01982/0.4795, allocations: 21.29 MB / 0.7732 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01329/0.4929, allocations: 10.68 MB / 0.7836 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0148/0.5077, allocations: 7.241 MB / 0.7907 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.5179, allocations: 6.362 MB / 0.7969 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002443/0.5203, allocations: 0.9375 MB / 0.7978 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006239/0.5266, allocations: 1.702 MB / 0.7995 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003236/0.5299, allocations: 2.337 MB / 0.8018 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008054/0.5379, allocations: 4.707 MB / 0.8064 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.5535, allocations: 13.9 MB / 0.8199 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5536, allocations: 7.938 kB / 0.8199 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5536, allocations: 4 kB / 0.8199 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003695/0.554, allocations: 0 / 0.8199 GB, free: 1.684 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01954/0.5735, allocations: 8.725 MB / 0.8285 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5736, allocations: 8.031 kB / 0.8285 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002089/0.5757, allocations: 0.8461 MB / 0.8293 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.5791, allocations: 0.8981 MB / 0.8302 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.5935, allocations: 6.76 MB / 0.8368 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005943/0.5941, allocations: 464.2 kB / 0.8372 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/0.5961, allocations: 0.5859 MB / 0.8378 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02015/0.6162, allocations: 9.032 MB / 0.8466 GB, free: 5.867 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.6165, allocations: 23.81 kB / 0.8466 GB, free: 5.844 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/0.6181, allocations: 264 kB / 0.8469 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.6183, allocations: 183.9 kB / 0.8471 GB, free: 5.406 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.6337, allocations: 7.449 MB / 0.8543 GB, free: 13.95 MB / 0.6856 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.3376/0.9713, allocations: 36.07 MB / 0.8896 GB, free: 149.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/0.9772, allocations: 4.289 MB / 0.8937 GB, free: 147.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004266/0.9815, allocations: 3.306 MB / 0.897 GB, free: 145.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.9826, allocations: 0.9529 MB / 0.8979 GB, free: 144.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003361/0.986, allocations: 2.386 MB / 0.9002 GB, free: 143.3 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002254/0.9882, allocations: 379.8 kB / 0.9006 GB, free: 143.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 5.71e-06/0.9883, allocations: 0 / 0.9006 GB, free: 143.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01082/0.9991, allocations: 7.167 MB / 0.9076 GB, free: 139.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.9992, allocations: 87.75 kB / 0.9077 GB, free: 139.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/1.005, allocations: 5.668 MB / 0.9132 GB, free: 136.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004411/1.006, allocations: 87.2 kB / 0.9133 GB, free: 136.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.008, allocations: 3.268 MB / 0.9165 GB, free: 133.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009466/1.009, allocations: 1.175 MB / 0.9176 GB, free: 133.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009691/1.01, allocations: 0.8616 MB / 0.9185 GB, free: 132.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.37e-05/1.01, allocations: 305.1 kB / 0.9188 GB, free: 132.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/1.013, allocations: 2.161 MB / 0.9209 GB, free: 131.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/1.016, allocations: 3.702 MB / 0.9245 GB, free: 127 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005916/1.022, allocations: 6.318 MB / 0.9307 GB, free: 120 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/1.022, allocations: 16 kB / 0.9307 GB, free: 120 MB / 0.6856 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008644/1.03, allocations: 6.802 MB / 0.9373 GB, free: 113.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/1.03, allocations: 57.69 kB / 0.9374 GB, free: 113.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.346e-05/1.03, allocations: 48 kB / 0.9374 GB, free: 113 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000813/1.031, allocations: 435.4 kB / 0.9378 GB, free: 112.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/1.034, allocations: 1.002 MB / 0.9388 GB, free: 111.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/1.038, allocations: 5.709 MB / 0.9444 GB, free: 105.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/1.043, allocations: 279.7 kB / 0.9447 GB, free: 105.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/1.043, allocations: 220 kB / 0.9449 GB, free: 105.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003208/1.046, allocations: 2.489 MB / 0.9473 GB, free: 102.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.047, allocations: 0.5512 MB / 0.9478 GB, free: 102.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006999/1.054, allocations: 5.263 MB / 0.953 GB, free: 96.82 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.054, allocations: 35.98 kB / 0.953 GB, free: 96.78 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.054, allocations: 4 kB / 0.953 GB, free: 96.78 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005149/1.06, allocations: 4.535 MB / 0.9574 GB, free: 92.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/1.078, allocations: 11.99 MB / 0.9692 GB, free: 80.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.078, allocations: 4.125 kB / 0.9692 GB, free: 80.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.08, allocations: 0.6397 MB / 0.9698 GB, free: 79.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006924/1.081, allocations: 375.3 kB / 0.9701 GB, free: 79.08 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/1.081, allocations: 91.89 kB / 0.9702 GB, free: 78.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/1.085, allocations: 5.626 MB / 0.9757 GB, free: 73.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.085, allocations: 4 kB / 0.9757 GB, free: 73.11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009371/1.095, allocations: 7.782 MB / 0.9833 GB, free: 65.23 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003013/1.098, allocations: 1.19 MB / 0.9845 GB, free: 64.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008118/1.098, allocations: 67.98 kB / 0.9846 GB, free: 63.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/1.101, allocations: 188.7 kB / 0.9847 GB, free: 63.78 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/1.102, allocations: 198.2 kB / 0.9849 GB, free: 63.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.102, allocations: 147.9 kB / 0.9851 GB, free: 63.44 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004671/1.107, allocations: 3.959 MB / 0.9889 GB, free: 59.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.41e-07/1.107, allocations: 3.938 kB / 0.9889 GB, free: 59.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005296/1.112, allocations: 2.027 MB / 0.9909 GB, free: 57.61 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01028/1.122, allocations: 8.744 MB / 0.9995 GB, free: 48.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006734/1.129, allocations: 5.441 MB / 1.005 GB, free: 43.33 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.129, allocations: 3.781 kB / 1.005 GB, free: 43.33 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002936/1.132, allocations: 2.545 MB / 1.007 GB, free: 40.75 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0143/1.146, allocations: 3.392 MB / 1.011 GB, free: 37.46 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07076/1.217, allocations: 52.57 MB / 1.062 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004037/1.221, allocations: 4.628 MB / 1.066 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005859/1.227, allocations: 2.08 MB / 1.068 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004126/1.231, allocations: 2.678 MB / 1.071 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of SimCode: time 8.91e-07/1.231, allocations: 0 / 1.071 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5412/1.772, allocations: 160.2 MB / 1.228 GB, free: 249.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.6/21.37, allocations: 12.31 kB / 1.228 GB, free: 249.4 MB / 0.8106 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)