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.001302/0.001302, allocations: 97.89 kB / 16.4 MB, free: 6.438 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.001449/0.001449, allocations: 195.8 kB / 17.34 MB, free: 5.73 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7164/0.7164, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.19 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1607, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06214/0.2229, allocations: 55.97 MB / 0.6862 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.2482, allocations: 17.96 MB / 0.7038 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003539/0.2517, allocations: 79.56 kB / 0.7039 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.2556, allocations: 0.8924 MB / 0.7047 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008581/0.2642, allocations: 2.503 MB / 0.7072 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/0.2689, allocations: 1.535 MB / 0.7087 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0257/0.2946, allocations: 21.26 MB / 0.7294 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01639/0.311, allocations: 10.68 MB / 0.7399 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4224/0.7335, allocations: 7.216 MB / 0.7469 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01429/0.7478, allocations: 6.361 MB / 0.7531 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004133/0.752, allocations: 0.938 MB / 0.754 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009924/0.7619, allocations: 1.699 MB / 0.7557 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005794/0.7677, allocations: 2.34 MB / 0.758 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01527/0.783, allocations: 4.713 MB / 0.7626 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01942/0.8025, allocations: 13.18 MB / 0.7755 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.8025, allocations: 2.188 kB / 0.7755 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8025, allocations: 2.781 kB / 0.7755 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005224/0.8031, allocations: 1.609 kB / 0.7755 GB, free: 12.68 MB / 0.5762 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.02486/0.8279, allocations: 8.521 MB / 0.7838 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.828, allocations: 12.81 kB / 0.7838 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003496/0.8315, allocations: 0.8361 MB / 0.7846 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.8363, allocations: 0.8584 MB / 0.7854 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/0.8502, allocations: 6.699 MB / 0.792 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.8506, allocations: 459 kB / 0.7924 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/0.8537, allocations: 0.6056 MB / 0.793 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/0.8748, allocations: 9.028 MB / 0.8018 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.875, allocations: 20.62 kB / 0.8019 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.8761, allocations: 258.8 kB / 0.8021 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.8762, allocations: 177.1 kB / 0.8023 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.891, allocations: 7.452 MB / 0.8095 GB, free: 500 kB / 0.5762 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.06325/0.9543, allocations: 36 MB / 0.8447 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007721/0.9621, allocations: 4.286 MB / 0.8489 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005423/0.9675, allocations: 3.298 MB / 0.8521 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.969, allocations: 0.9566 MB / 0.853 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004806/0.9738, allocations: 2.387 MB / 0.8554 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003138/0.977, allocations: 365.9 kB / 0.8557 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.248e-05/0.977, allocations: 0 / 0.8557 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01537/0.9924, allocations: 7.137 MB / 0.8627 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.9925, allocations: 89.91 kB / 0.8628 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01309/1.006, allocations: 5.666 MB / 0.8683 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001095/1.007, allocations: 89.7 kB / 0.8684 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004244/1.011, allocations: 3.194 MB / 0.8715 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003222/1.014, allocations: 1.119 MB / 0.8726 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004433/1.019, allocations: 0.8541 MB / 0.8734 GB, free: 352 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.019, allocations: 309 kB / 0.8737 GB, free: 40 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005097/1.024, allocations: 2.163 MB / 0.8758 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/1.03, allocations: 3.691 MB / 0.8795 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009695/1.039, allocations: 6.321 MB / 0.8856 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.829e-05/1.039, allocations: 16 kB / 0.8856 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01434/1.054, allocations: 6.774 MB / 0.8923 GB, free: 12.13 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.054, allocations: 58.33 kB / 0.8923 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/1.054, allocations: 48 kB / 0.8924 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.055, allocations: 439.6 kB / 0.8928 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003951/1.059, allocations: 1.003 MB / 0.8938 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/1.066, allocations: 5.711 MB / 0.8993 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/1.072, allocations: 286.2 kB / 0.8996 GB, free: 4.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009142/1.073, allocations: 212 kB / 0.8998 GB, free: 4.238 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.005871/1.078, allocations: 2.482 MB / 0.9022 GB, free: 1.812 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002417/1.081, allocations: 0.5287 MB / 0.9028 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.092, allocations: 5.262 MB / 0.9079 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-05/1.092, allocations: 32 kB / 0.9079 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.092, allocations: 4 kB / 0.9079 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007331/1.1, allocations: 4.533 MB / 0.9124 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0282/1.128, allocations: 11.97 MB / 0.924 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.128, allocations: 4.125 kB / 0.924 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.131, allocations: 0.6438 MB / 0.9247 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009202/1.132, allocations: 375.3 kB / 0.925 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004074/1.132, allocations: 91.95 kB / 0.9251 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00582/1.138, allocations: 5.619 MB / 0.9306 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.138, allocations: 0 / 0.9306 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.152, allocations: 7.762 MB / 0.9382 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005034/1.157, allocations: 1.158 MB / 0.9393 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002546/1.159, allocations: 67.94 kB / 0.9394 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004794/1.164, allocations: 197.9 kB / 0.9396 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005946/1.165, allocations: 201.9 kB / 0.9398 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000556/1.165, allocations: 135.9 kB / 0.9399 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.009062/1.174, allocations: 3.967 MB / 0.9438 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/1.174, allocations: 0 / 0.9438 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.009131/1.183, allocations: 2.011 MB / 0.9457 GB, free: 4.812 MB / 0.7169 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.01635/1.2, allocations: 8.704 MB / 0.9542 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009425/1.209, allocations: 5.438 MB / 0.9595 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.209, allocations: 7.281 kB / 0.9596 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004404/1.214, allocations: 2.541 MB / 0.962 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01947/1.233, allocations: 3.393 MB / 0.9653 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09374/1.327, allocations: 52.34 MB / 1.016 GB, free: 10.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004772/1.332, allocations: 4.632 MB / 1.021 GB, free: 6.164 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006516/1.338, allocations: 2.083 MB / 1.023 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00515/1.344, allocations: 2.665 MB / 1.026 GB, free: 1.418 MB / 0.795 GB Notification: Performance of SimCode: time 1.133e-06/1.344, allocations: 0 / 1.026 GB, free: 1.418 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5758/1.919, allocations: 162.5 MB / 1.184 GB, free: 206.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.15/22.07, allocations: 6.328 kB / 1.184 GB, free: 206.8 MB / 0.8106 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/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)