Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_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.001507/0.001507, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003113/0.003113, allocations: 174.2 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.614/2.614, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.094/1.094, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005852/0.0005853, allocations: 8 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2865, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.7947/1.081, allocations: 46.79 MB / 0.6024 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0408/1.122, allocations: 15.55 MB / 0.6176 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008281/1.131, allocations: 63 kB / 0.6177 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008011/1.139, allocations: 0.8129 MB / 0.6185 GB, free: 180 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02002/1.159, allocations: 2.163 MB / 0.6206 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01156/1.17, allocations: 1.582 MB / 0.6221 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04058/1.211, allocations: 11.44 MB / 0.6333 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02288/1.234, allocations: 7.156 MB / 0.6403 GB, free: 3.316 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01862/1.253, allocations: 4.486 MB / 0.6447 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01445/1.267, allocations: 3.855 MB / 0.6484 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004222/1.272, allocations: 344 kB / 0.6487 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/1.285, allocations: 0.8391 MB / 0.6496 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006773/1.292, allocations: 1.467 MB / 0.651 GB, free: 9.367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009639/1.302, allocations: 1.611 MB / 0.6526 GB, free: 7.746 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02359/1.325, allocations: 10.27 MB / 0.6626 GB, free: 13.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/1.325, allocations: 3.938 kB / 0.6626 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.113e-06/1.325, allocations: 0 / 0.6626 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008402/1.326, allocations: 0 / 0.6626 GB, free: 13.45 MB / 494.1 MB 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.03226/1.358, allocations: 6.96 MB / 0.6694 GB, free: 6.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.695e-05/1.359, allocations: 8.031 kB / 0.6694 GB, free: 6.395 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006438/1.365, allocations: 0.842 MB / 0.6702 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008796/1.374, allocations: 0.8538 MB / 0.6711 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02886/1.403, allocations: 6.032 MB / 0.677 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/1.404, allocations: 460.1 kB / 0.6774 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005359/1.41, allocations: 0.5937 MB / 0.678 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04973/1.459, allocations: 8.935 MB / 0.6867 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008442/1.46, allocations: 19.88 kB / 0.6867 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005189/1.466, allocations: 271.9 kB / 0.687 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005389/1.466, allocations: 176 kB / 0.6871 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03376/1.5, allocations: 7.414 MB / 0.6944 GB, free: 12.4 MB / 0.5137 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.1014/1.601, allocations: 36.21 MB / 0.7298 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.613, allocations: 4.347 MB / 0.734 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002266/1.616, allocations: 0.9778 MB / 0.735 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008143/1.624, allocations: 2.387 MB / 0.7373 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00685/1.631, allocations: 483.3 kB / 0.7377 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=317): time 3.419e-05/1.631, allocations: 0 / 0.7377 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317): time 0.02551/1.656, allocations: 7.145 MB / 0.7447 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.657, allocations: 81.91 kB / 0.7448 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01714/1.674, allocations: 5.842 MB / 0.7505 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001327/1.675, allocations: 85.7 kB / 0.7506 GB, free: 484 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.006158/1.681, allocations: 3.188 MB / 0.7537 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0031/1.685, allocations: 1.125 MB / 0.7548 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005773/1.685, allocations: 88 kB / 0.7549 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0005667/1.686, allocations: 499.6 kB / 0.7554 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006788/1.693, allocations: 2.163 MB / 0.7575 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009027/1.702, allocations: 3.677 MB / 0.7611 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008313/1.71, allocations: 2.927 MB / 0.7639 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.229e-05/1.71, allocations: 16 kB / 0.7639 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02458/1.735, allocations: 6.768 MB / 0.7705 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/1.735, allocations: 53.7 kB / 0.7706 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/1.735, allocations: 48 kB / 0.7706 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.737, allocations: 443.1 kB / 0.7711 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00698/1.744, allocations: 1.053 MB / 0.7721 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009471/1.753, allocations: 5.32 MB / 0.7773 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/1.765, allocations: 487.5 kB / 0.7778 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002203/1.768, allocations: 223.9 kB / 0.778 GB, free: 3.316 MB / 0.5919 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01039/1.778, allocations: 2.475 MB / 0.7804 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00364/1.782, allocations: 0.5287 MB / 0.7809 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/1.801, allocations: 5.286 MB / 0.7861 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.842e-05/1.801, allocations: 36 kB / 0.7861 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/1.801, allocations: 4 kB / 0.7861 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01303/1.814, allocations: 4.555 MB / 0.7906 GB, free: 6.254 MB / 0.6075 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.04588/1.86, allocations: 12.18 MB / 0.8024 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/1.86, allocations: 0 / 0.8024 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005017/1.865, allocations: 0.6242 MB / 0.8031 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/1.866, allocations: 372.2 kB / 0.8034 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009236/1.867, allocations: 83.95 kB / 0.8035 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009039/1.876, allocations: 5.23 MB / 0.8086 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.877, allocations: 4 kB / 0.8086 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02311/1.9, allocations: 7.77 MB / 0.8162 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007317/1.907, allocations: 1.299 MB / 0.8175 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003491/1.911, allocations: 71.88 kB / 0.8175 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009194/1.92, allocations: 446.4 kB / 0.8179 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00148/1.921, allocations: 206.2 kB / 0.8181 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008809/1.922, allocations: 139.9 kB / 0.8183 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.01521/1.938, allocations: 4.095 MB / 0.8223 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.91e-07/1.938, allocations: 0 / 0.8223 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01432/1.952, allocations: 2.007 MB / 0.8242 GB, free: 3.16 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.8387/2.791, allocations: 8.906 MB / 0.8329 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02299/2.814, allocations: 5.39 MB / 0.8382 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.779e-05/2.814, allocations: 11.03 kB / 0.8382 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01014/2.824, allocations: 2.509 MB / 0.8407 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03098/2.855, allocations: 3.159 MB / 0.8437 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2819/3.137, allocations: 84.8 MB / 0.9266 GB, free: 138.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01449/3.152, allocations: 4.751 MB / 0.9312 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01366/3.165, allocations: 2.067 MB / 0.9332 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008378/3.174, allocations: 2.67 MB / 0.9358 GB, free: 129.2 MB / 0.6387 GB Notification: Performance of SimCode: time 2.134e-06/3.174, allocations: 0 / 0.9358 GB, free: 129.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.121/4.295, allocations: 170.5 MB / 1.102 GB, free: 215.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/4.295, allocations: 257.6 kB / 1.103 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/15.29, allocations: 0 / 1.103 GB, free: 214.8 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) Environment - environmentSimulation: