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.0008433/0.0008433, 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.0009733/0.0009733, allocations: 165.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.8705/0.8705, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.001475/0.001475, allocations: 234 kB / 259.4 MB, free: 13.02 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.6658/0.6658, allocations: 138.5 MB / 454.3 MB, free: 1.594 MB / 362.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 2.495e-06/2.495e-06, allocations: 0 / 0.6463 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.637e-05, allocations: 2.281 kB / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03301/0.03304, allocations: 51.15 MB / 0.6962 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.04995, allocations: 16.78 MB / 0.7126 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.05258, allocations: 99.19 kB / 0.7127 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.05488, allocations: 0.9116 MB / 0.7136 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006723/0.06161, allocations: 2.742 MB / 0.7163 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.06523, allocations: 1.658 MB / 0.7179 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01518/0.08041, allocations: 22.13 MB / 0.7395 GB, free: 1.895 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.09108, allocations: 7.089 MB / 0.7464 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01999/0.1111, allocations: 10.1 MB / 0.7563 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.1213, allocations: 6.401 MB / 0.7626 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.00318/0.1245, allocations: 0.9375 MB / 0.7635 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00529/0.1298, allocations: 1.6 MB / 0.765 GB, free: 7.652 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003092/0.1329, allocations: 2.492 MB / 0.7675 GB, free: 5.152 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.006164/0.1391, allocations: 3.341 MB / 0.7707 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.1516, allocations: 13.49 MB / 0.7839 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1516, allocations: 0 / 0.7839 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.235e-06/0.1516, allocations: 0 / 0.7839 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004179/0.1521, allocations: 0 / 0.7839 GB, free: 4.281 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.01474/0.1668, allocations: 8.556 MB / 0.7923 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1668, allocations: 8.75 kB / 0.7923 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/0.168, allocations: 0.8422 MB / 0.7931 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.17, allocations: 0.9527 MB / 0.794 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.1804, allocations: 6.774 MB / 0.8006 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.1807, allocations: 456.6 kB / 0.8011 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.1818, allocations: 0.598 MB / 0.8017 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.1945, allocations: 10.11 MB / 0.8115 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.1946, allocations: 23.8 kB / 0.8115 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004982/0.1951, allocations: 260 kB / 0.8118 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.1952, allocations: 179.9 kB / 0.812 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.2056, allocations: 7.449 MB / 0.8192 GB, free: 15.32 MB / 0.6667 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.03424/0.2398, allocations: 27.22 MB / 0.8458 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.244, allocations: 3.977 MB / 0.8497 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003119/0.2471, allocations: 3.037 MB / 0.8527 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007795/0.2479, allocations: 206.3 kB / 0.8529 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003043/0.2509, allocations: 3.456 MB / 0.8562 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001807/0.2528, allocations: 397 kB / 0.8566 GB, free: 8.277 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 9.968e-06/0.2528, allocations: 0 / 0.8566 GB, free: 8.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.009307/0.2621, allocations: 7 MB / 0.8635 GB, free: 1.227 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.2621, allocations: 85.91 kB / 0.8635 GB, free: 1.129 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2678/0.5299, allocations: 5.762 MB / 0.8692 GB, free: 196.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000701/0.5306, allocations: 87.58 kB / 0.8693 GB, free: 196.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002242/0.5329, allocations: 3.257 MB / 0.8724 GB, free: 195.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/0.5341, allocations: 1.156 MB / 0.8736 GB, free: 194.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.5352, allocations: 0.8538 MB / 0.8744 GB, free: 193.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.011e-05/0.5353, allocations: 302.4 kB / 0.8747 GB, free: 193.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.5378, allocations: 2.192 MB / 0.8768 GB, free: 192.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.5408, allocations: 3.828 MB / 0.8806 GB, free: 190 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005905/0.5467, allocations: 6.326 MB / 0.8867 GB, free: 186.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.824e-05/0.5467, allocations: 17.28 kB / 0.8868 GB, free: 186.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007643/0.5544, allocations: 6.823 MB / 0.8934 GB, free: 182.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.5544, allocations: 53.02 kB / 0.8935 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/0.5545, allocations: 52.5 kB / 0.8935 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/0.5551, allocations: 436.3 kB / 0.8939 GB, free: 182.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.5569, allocations: 1.005 MB / 0.8949 GB, free: 182.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.5602, allocations: 5.417 MB / 0.9002 GB, free: 178 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.5634, allocations: 281.8 kB / 0.9005 GB, free: 177.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/0.5638, allocations: 219.9 kB / 0.9007 GB, free: 177.8 MB / 0.698 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.00336/0.5672, allocations: 2.485 MB / 0.9031 GB, free: 176 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/0.5685, allocations: 0.5551 MB / 0.9037 GB, free: 175.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005538/0.574, allocations: 5.264 MB / 0.9088 GB, free: 170.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.574, allocations: 35.94 kB / 0.9088 GB, free: 170.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.574, allocations: 4 kB / 0.9088 GB, free: 170.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003819/0.5778, allocations: 4.523 MB / 0.9133 GB, free: 165.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.5923, allocations: 11.07 MB / 0.9241 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5923, allocations: 7.109 kB / 0.9241 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.5937, allocations: 0.6413 MB / 0.9247 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000518/0.5942, allocations: 375.6 kB / 0.9251 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.5944, allocations: 83.89 kB / 0.9251 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.5974, allocations: 5.327 MB / 0.9303 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5974, allocations: 4 kB / 0.9303 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007372/0.6048, allocations: 7.736 MB / 0.9379 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/0.6072, allocations: 1.147 MB / 0.939 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008037/0.6081, allocations: 75.92 kB / 0.9391 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.6097, allocations: 192.3 kB / 0.9393 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.61, allocations: 214 kB / 0.9395 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.6102, allocations: 138.5 kB / 0.9396 GB, free: 138.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004315/0.6145, allocations: 3.971 MB / 0.9435 GB, free: 134.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.6145, allocations: 0 / 0.9435 GB, free: 134.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00497/0.6195, allocations: 2.026 MB / 0.9455 GB, free: 132.4 MB / 0.698 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.008008/0.6275, allocations: 8.684 MB / 0.9539 GB, free: 123.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005447/0.6329, allocations: 5.267 MB / 0.9591 GB, free: 118.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.6329, allocations: 4 kB / 0.9591 GB, free: 118.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.635, allocations: 2.362 MB / 0.9614 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00874/0.6437, allocations: 3.389 MB / 0.9647 GB, free: 112.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06141/0.7052, allocations: 52.59 MB / 1.016 GB, free: 58.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002745/0.7079, allocations: 4.148 MB / 1.02 GB, free: 53.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004245/0.7121, allocations: 2.069 MB / 1.022 GB, free: 51.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/0.7144, allocations: 2.679 MB / 1.025 GB, free: 49.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.432e-06/0.7144, allocations: 0 / 1.025 GB, free: 49.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4101/1.125, allocations: 170.5 MB / 1.191 GB, free: 270.7 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.29, allocations: 7.484 kB / 1.191 GB, free: 270.7 MB / 0.7917 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.14725178666413] Failed to read output from testmodel.py, exit status != 0: 14.443582396022975 14.449540047 14.295564528 Calling exit ...