Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007228/0.0007228, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007592/0.0007592, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8464/0.8464, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0021/0.0021, allocations: 248.6 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6752/0.6752, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.6463 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.386e-05, allocations: 5.234 kB / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2612/0.2612, allocations: 51.15 MB / 0.6962 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.278, allocations: 16.76 MB / 0.7126 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.2808, allocations: 101.8 kB / 0.7127 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.2833, allocations: 0.9098 MB / 0.7136 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007507/0.2908, allocations: 2.741 MB / 0.7163 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.2946, allocations: 1.667 MB / 0.7179 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01638/0.311, allocations: 22.11 MB / 0.7395 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.3214, allocations: 7.095 MB / 0.7464 GB, free: 4.703 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02033/0.3417, allocations: 10.12 MB / 0.7563 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01023/0.3519, allocations: 6.394 MB / 0.7625 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.003069/0.355, allocations: 0.9375 MB / 0.7635 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/0.3604, allocations: 1.596 MB / 0.765 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.004075/0.3645, allocations: 2.496 MB / 0.7675 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.007373/0.3719, allocations: 3.345 MB / 0.7707 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.3879, allocations: 13.48 MB / 0.7839 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3879, allocations: 0 / 0.7839 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3879, allocations: 0 / 0.7839 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004765/0.3883, allocations: 0 / 0.7839 GB, free: 14.31 MB / 0.6198 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.01815/0.4065, allocations: 8.556 MB / 0.7922 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.4066, allocations: 17.94 kB / 0.7923 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002232/0.4088, allocations: 0.8422 MB / 0.7931 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.4121, allocations: 0.9566 MB / 0.794 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.4236, allocations: 6.77 MB / 0.8006 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006043/0.4242, allocations: 460.6 kB / 0.8011 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/0.427, allocations: 0.5941 MB / 0.8016 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.4431, allocations: 10.1 MB / 0.8115 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.4432, allocations: 19.88 kB / 0.8115 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007436/0.444, allocations: 264 kB / 0.8118 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.4441, allocations: 182.5 kB / 0.812 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.4566, allocations: 7.449 MB / 0.8192 GB, free: 9.363 MB / 0.6511 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.03866/0.4952, allocations: 27.22 MB / 0.8458 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/0.5001, allocations: 3.974 MB / 0.8497 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.5036, allocations: 3.04 MB / 0.8527 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/0.5042, allocations: 206.2 kB / 0.8529 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003181/0.5074, allocations: 3.456 MB / 0.8562 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002517/0.5099, allocations: 397.1 kB / 0.8566 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=317): time 1.159e-05/0.5099, allocations: 0 / 0.8566 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317): time 0.00978/0.5197, allocations: 7.004 MB / 0.8634 GB, free: 11.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.5197, allocations: 89.89 kB / 0.8635 GB, free: 11.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007538/0.5273, allocations: 5.756 MB / 0.8692 GB, free: 5.441 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007206/0.528, allocations: 93.7 kB / 0.8692 GB, free: 5.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002642/0.5306, allocations: 3.259 MB / 0.8724 GB, free: 2.059 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001491/0.5321, allocations: 1.154 MB / 0.8736 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009948/0.5331, allocations: 0.8546 MB / 0.8744 GB, free: 28 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.5332, allocations: 301.1 kB / 0.8747 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/0.5357, allocations: 2.189 MB / 0.8768 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004024/0.5398, allocations: 3.826 MB / 0.8806 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006275/0.546, allocations: 6.323 MB / 0.8867 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-05/0.5461, allocations: 19.94 kB / 0.8867 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007646/0.5537, allocations: 6.815 MB / 0.8934 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.5538, allocations: 57.7 kB / 0.8935 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/0.5538, allocations: 48 kB / 0.8935 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.5545, allocations: 440.5 kB / 0.8939 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.5564, allocations: 1.006 MB / 0.8949 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.5602, allocations: 5.428 MB / 0.9002 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.5632, allocations: 285.3 kB / 0.9005 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/0.5635, allocations: 216 kB / 0.9007 GB, free: 3.348 MB / 0.7292 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.003468/0.567, allocations: 2.484 MB / 0.9031 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000852/0.5679, allocations: 0.5551 MB / 0.9036 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005647/0.5735, allocations: 5.261 MB / 0.9088 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.5735, allocations: 36.05 kB / 0.9088 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5735, allocations: 7.984 kB / 0.9088 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004154/0.5777, allocations: 4.52 MB / 0.9132 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.59, allocations: 11.08 MB / 0.9241 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.59, allocations: 0 / 0.9241 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.5915, allocations: 0.6438 MB / 0.9247 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/0.5919, allocations: 367.4 kB / 0.925 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.5921, allocations: 87.95 kB / 0.9251 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/0.5956, allocations: 5.333 MB / 0.9303 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5956, allocations: 0 / 0.9303 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4669/1.063, allocations: 7.736 MB / 0.9379 GB, free: 231.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002567/1.065, allocations: 1.145 MB / 0.939 GB, free: 231.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004555/1.066, allocations: 68.42 kB / 0.9391 GB, free: 231.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.067, allocations: 193.5 kB / 0.9393 GB, free: 231.2 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/1.067, allocations: 208.9 kB / 0.9395 GB, free: 231.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.068, allocations: 142.8 kB / 0.9396 GB, free: 231.1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00403/1.072, allocations: 3.969 MB / 0.9435 GB, free: 229.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/1.072, allocations: 1.281 kB / 0.9435 GB, free: 229.8 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003558/1.075, allocations: 2.026 MB / 0.9454 GB, free: 229.7 MB / 0.7605 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.007392/1.082, allocations: 8.681 MB / 0.9539 GB, free: 226.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005408/1.088, allocations: 5.259 MB / 0.9591 GB, free: 224.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.088, allocations: 7.188 kB / 0.9591 GB, free: 224.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.09, allocations: 2.362 MB / 0.9614 GB, free: 223.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007614/1.098, allocations: 3.399 MB / 0.9647 GB, free: 222.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05373/1.151, allocations: 52.59 MB / 1.016 GB, free: 192.9 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/1.154, allocations: 4.147 MB / 1.02 GB, free: 188.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004381/1.158, allocations: 2.078 MB / 1.022 GB, free: 186.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.16, allocations: 2.675 MB / 1.025 GB, free: 184 MB / 0.7605 GB Notification: Performance of SimCode: time 9.81e-07/1.16, allocations: 0 / 1.025 GB, free: 184 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.29, allocations: 170.5 MB / 1.191 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.77, allocations: 10.81 kB / 1.191 GB, free: 15.61 MB / 0.7605 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.463608904741704] Failed to read output from testmodel.py, exit status != 0: 12.925917302258313 12.931426717 12.541163603 Calling exit ...