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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 117.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 227.1 kB / 23.01 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9383/0.9383, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 66.08 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.193, allocations: 89.18 MB / 0.7283 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4585/0.6515, allocations: 57.25 MB / 0.7843 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.6766, allocations: 18.19 MB / 0.802 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004008/0.6806, allocations: 105.4 kB / 0.8021 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.6843, allocations: 0.9277 MB / 0.803 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009854/0.6941, allocations: 2.676 MB / 0.8056 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005149/0.6993, allocations: 1.598 MB / 0.8072 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0273/0.7266, allocations: 21.85 MB / 0.8285 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.7384, allocations: 7.085 MB / 0.8355 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01782/0.7562, allocations: 7.541 MB / 0.8428 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01378/0.77, allocations: 6.584 MB / 0.8493 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003528/0.7735, allocations: 0.9375 MB / 0.8502 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008534/0.782, allocations: 1.776 MB / 0.8519 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005079/0.7871, allocations: 2.437 MB / 0.8543 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01251/0.7996, allocations: 4.727 MB / 0.8589 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02053/0.8202, allocations: 13.33 MB / 0.8719 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.8202, allocations: 4 kB / 0.8719 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.414e-06/0.8202, allocations: 0 / 0.8719 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000473/0.8206, allocations: 0 / 0.8719 GB, free: 4.602 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.02487/0.8455, allocations: 8.634 MB / 0.8804 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.8456, allocations: 8.031 kB / 0.8804 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003355/0.8489, allocations: 0.8499 MB / 0.8812 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005738/0.8547, allocations: 0.9528 MB / 0.8821 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/0.8716, allocations: 6.785 MB / 0.8887 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005436/0.8721, allocations: 460.2 kB / 0.8892 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002553/0.8747, allocations: 0.5937 MB / 0.8898 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/0.9011, allocations: 9.04 MB / 0.8986 GB, free: 8.781 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004117/0.9015, allocations: 23.83 kB / 0.8986 GB, free: 8.758 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002195/0.9037, allocations: 260 kB / 0.8989 GB, free: 8.504 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.9039, allocations: 183.9 kB / 0.899 GB, free: 8.324 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0185/0.9224, allocations: 7.473 MB / 0.9063 GB, free: 0.8438 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 preOpt removeSimpleEquations (simulation): time 0.06724/0.9897, allocations: 36 MB / 0.9415 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008008/0.9977, allocations: 4.01 MB / 0.9454 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005946/1.004, allocations: 3.027 MB / 0.9484 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.005, allocations: 226.1 kB / 0.9486 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005323/1.01, allocations: 2.386 MB / 0.9509 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003014/1.013, allocations: 401 kB / 0.9513 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.387e-05/1.013, allocations: 0 / 0.9513 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01577/1.029, allocations: 6.996 MB / 0.9581 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/1.029, allocations: 81.91 kB / 0.9582 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/1.041, allocations: 5.682 MB / 0.9638 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008228/1.042, allocations: 89.7 kB / 0.9638 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.004131/1.046, allocations: 3.275 MB / 0.967 GB, free: 500 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/1.048, allocations: 1.17 MB / 0.9682 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002506/1.05, allocations: 0.8586 MB / 0.969 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.05, allocations: 305.1 kB / 0.9693 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/1.055, allocations: 2.163 MB / 0.9714 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005817/1.06, allocations: 3.705 MB / 0.975 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.071, allocations: 6.323 MB / 0.9812 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.605e-05/1.071, allocations: 16 kB / 0.9812 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01782/1.089, allocations: 6.787 MB / 0.9879 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.089, allocations: 53.69 kB / 0.9879 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/1.089, allocations: 52.16 kB / 0.988 GB, free: 9.551 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/1.09, allocations: 441.3 kB / 0.9884 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004321/1.095, allocations: 1.002 MB / 0.9894 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007131/1.102, allocations: 5.485 MB / 0.9947 GB, free: 2.406 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/1.107, allocations: 291.5 kB / 0.995 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.108, allocations: 216 kB / 0.9952 GB, free: 1.91 MB / 0.7637 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.006117/1.114, allocations: 2.479 MB / 0.9976 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/1.117, allocations: 0.559 MB / 0.9982 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/1.128, allocations: 5.251 MB / 1.003 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/1.128, allocations: 28 kB / 1.003 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/1.128, allocations: 8 kB / 1.003 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007976/1.136, allocations: 4.524 MB / 1.008 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/1.166, allocations: 12.01 MB / 1.019 GB, free: 8.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.166, allocations: 4 kB / 1.019 GB, free: 8.746 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/1.169, allocations: 0.6516 MB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/1.17, allocations: 371.6 kB / 1.02 GB, free: 7.727 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005056/1.17, allocations: 83.95 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006692/1.177, allocations: 5.414 MB / 1.026 GB, free: 2.008 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.177, allocations: 12 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/1.193, allocations: 7.776 MB / 1.033 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004828/1.198, allocations: 1.142 MB / 1.035 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001938/1.2, allocations: 71.98 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/1.204, allocations: 203.9 kB / 1.035 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007965/1.205, allocations: 206 kB / 1.035 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006561/1.205, allocations: 139.9 kB / 1.035 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.008648/1.214, allocations: 3.967 MB / 1.039 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.51e-07/1.214, allocations: 0 / 1.039 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008418/1.223, allocations: 2.031 MB / 1.041 GB, free: 2.387 MB / 0.8106 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.0175/1.24, allocations: 8.714 MB / 1.05 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.25, allocations: 5.24 MB / 1.055 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.25, allocations: 4 kB / 1.055 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004622/1.255, allocations: 2.382 MB / 1.057 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01789/1.273, allocations: 3.39 MB / 1.06 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4794/1.752, allocations: 52.64 MB / 1.112 GB, free: 281.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008162/1.76, allocations: 4.626 MB / 1.116 GB, free: 280.1 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.007545/1.768, allocations: 2.09 MB / 1.118 GB, free: 280 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00468/1.773, allocations: 2.678 MB / 1.121 GB, free: 278 MB / 0.8575 GB Notification: Performance of SimCode: time 1.232e-06/1.773, allocations: 0 / 1.121 GB, free: 278 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/1.987, allocations: 164.3 MB / 1.281 GB, free: 133.9 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/24.89, allocations: 7.797 kB / 1.281 GB, free: 133.9 MB / 0.8575 GB " [Timeout remaining time 635] (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 --stepSize=5.76 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.987897947896272] Failed to read output from testmodel.py, exit status != 0: 25.09109700587578 25.108306567 24.284213783 Calling exit ...