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: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00121/0.001211, allocations: 193.2 kB / 16.14 MB, free: 6.688 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.978/0.978, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1652, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3146/0.4798, allocations: 55.63 MB / 0.6479 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.4993, allocations: 17.93 MB / 0.6654 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.5027, allocations: 71.97 kB / 0.6655 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.5055, allocations: 0.7214 MB / 0.6662 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008341/0.5139, allocations: 2.335 MB / 0.6685 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.5181, allocations: 1.374 MB / 0.6698 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02999/0.5481, allocations: 27.82 MB / 0.697 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.5601, allocations: 8.698 MB / 0.7055 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/0.572, allocations: 5.517 MB / 0.7109 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.5831, allocations: 6.181 MB / 0.7169 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002439/0.5856, allocations: 472 kB / 0.7174 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006816/0.5924, allocations: 1.155 MB / 0.7185 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003594/0.596, allocations: 1.798 MB / 0.7203 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008965/0.605, allocations: 4.125 MB / 0.7243 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01628/0.6213, allocations: 13.29 MB / 0.7373 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6214, allocations: 0 / 0.7373 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6214, allocations: 0 / 0.7373 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004308/0.6218, allocations: 4 kB / 0.7373 GB, free: 10.8 MB / 0.5606 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.02091/0.6427, allocations: 8.517 MB / 0.7456 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.6428, allocations: 12.03 kB / 0.7456 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/0.6462, allocations: 0.8586 MB / 0.7464 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.6588, allocations: 6.64 MB / 0.7529 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.6593, allocations: 464.6 kB / 0.7534 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.6609, allocations: 0.6052 MB / 0.7539 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.6784, allocations: 9.025 MB / 0.7628 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.6786, allocations: 15.88 kB / 0.7628 GB, free: 192 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007257/0.6793, allocations: 268 kB / 0.763 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.6795, allocations: 183.9 kB / 0.7632 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.6928, allocations: 7.441 MB / 0.7705 GB, free: 8.297 MB / 0.5919 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.04996/0.7428, allocations: 35.94 MB / 0.8056 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006953/0.7498, allocations: 4.277 MB / 0.8097 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00519/0.7551, allocations: 3.304 MB / 0.813 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.7564, allocations: 0.9544 MB / 0.8139 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004015/0.7604, allocations: 2.382 MB / 0.8162 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002913/0.7634, allocations: 451.8 kB / 0.8167 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 8.206e-06/0.7634, allocations: 0 / 0.8167 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01323/0.7766, allocations: 7.101 MB / 0.8236 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.7767, allocations: 85.91 kB / 0.8237 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008461/0.7852, allocations: 5.467 MB / 0.829 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007677/0.786, allocations: 85.7 kB / 0.8291 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002953/0.789, allocations: 3.188 MB / 0.8322 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/0.7906, allocations: 1.121 MB / 0.8333 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.792, allocations: 0.8503 MB / 0.8341 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.7921, allocations: 309.1 kB / 0.8344 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/0.7955, allocations: 2.156 MB / 0.8365 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/0.7999, allocations: 3.693 MB / 0.8401 GB, free: 13.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008684/0.8086, allocations: 6.3 MB / 0.8463 GB, free: 6.789 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.189e-05/0.8087, allocations: 16 kB / 0.8463 GB, free: 6.773 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.2804/1.089, allocations: 6.749 MB / 0.8529 GB, free: 189.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/1.089, allocations: 53.42 kB / 0.853 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.781e-05/1.089, allocations: 48.78 kB / 0.853 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.09, allocations: 435.7 kB / 0.8534 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/1.094, allocations: 1.003 MB / 0.8544 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/1.099, allocations: 5.26 MB / 0.8595 GB, free: 187 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005571/1.104, allocations: 462.8 kB / 0.86 GB, free: 187 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009088/1.105, allocations: 222.7 kB / 0.8602 GB, free: 187 MB / 0.67 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.004478/1.11, allocations: 2.475 MB / 0.8626 GB, free: 186.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.111, allocations: 0.5309 MB / 0.8631 GB, free: 186.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007869/1.119, allocations: 5.248 MB / 0.8682 GB, free: 185.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.119, allocations: 30.12 kB / 0.8683 GB, free: 185.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.119, allocations: 5.688 kB / 0.8683 GB, free: 185.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005873/1.125, allocations: 4.525 MB / 0.8727 GB, free: 183.3 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.02286/1.148, allocations: 11.97 MB / 0.8844 GB, free: 178.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.148, allocations: 0.875 kB / 0.8844 GB, free: 178.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/1.151, allocations: 0.6417 MB / 0.885 GB, free: 178.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000844/1.152, allocations: 375.5 kB / 0.8854 GB, free: 178.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/1.152, allocations: 90.38 kB / 0.8855 GB, free: 178.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/1.157, allocations: 5.176 MB / 0.8905 GB, free: 174.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.157, allocations: 1.438 kB / 0.8905 GB, free: 174.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.17, allocations: 7.621 MB / 0.898 GB, free: 172.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003471/1.173, allocations: 1.135 MB / 0.8991 GB, free: 171.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.174, allocations: 66.03 kB / 0.8991 GB, free: 171.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004448/1.179, allocations: 468.4 kB / 0.8996 GB, free: 171.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005243/1.179, allocations: 196.7 kB / 0.8998 GB, free: 171.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003783/1.18, allocations: 141.9 kB / 0.8999 GB, free: 171.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007661/1.188, allocations: 3.808 MB / 0.9036 GB, free: 170 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.142e-06/1.188, allocations: 0 / 0.9036 GB, free: 170 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008679/1.196, allocations: 1.989 MB / 0.9056 GB, free: 169.7 MB / 0.67 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.002002/1.198, allocations: 498.1 kB / 0.906 GB, free: 169.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.21, allocations: 5.378 MB / 0.9113 GB, free: 167.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/1.21, allocations: 2.781 kB / 0.9113 GB, free: 167.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004885/1.215, allocations: 2.503 MB / 0.9137 GB, free: 166.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01701/1.232, allocations: 3.219 MB / 0.9169 GB, free: 166 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.254, allocations: 16.46 MB / 0.933 GB, free: 157.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003396/1.258, allocations: 4.63 MB / 0.9375 GB, free: 155.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006824/1.264, allocations: 2.008 MB / 0.9394 GB, free: 154.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/1.266, allocations: 457.4 kB / 0.9399 GB, free: 153.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/1.266, allocations: 0 / 0.9399 GB, free: 153.8 MB / 0.67 GB Notification: Performance of Templates: time 0.1584/1.424, allocations: 116.3 MB / 1.053 GB, free: 39.39 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)