Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001811/0.001811, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.002051/0.002051, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.433/1.433, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.9529/0.9529, allocations: 150 MB / 460.2 MB, free: 5.305 MB / 350.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.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",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.001981/0.001981, allocations: 62.69 kB / 0.6368 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1708, allocations: 89.14 MB / 0.7238 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05977/0.2306, allocations: 49.93 MB / 0.7726 GB, free: 2.074 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.02161/0.2522, allocations: 13.91 MB / 0.7862 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.255, allocations: 91.25 kB / 0.7863 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.2579, allocations: 0.8421 MB / 0.7871 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007428/0.2653, allocations: 2.352 MB / 0.7894 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.2694, allocations: 1.326 MB / 0.7907 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0288/0.2982, allocations: 19.62 MB / 0.8098 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/0.3146, allocations: 8.189 MB / 0.8178 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01632/0.3309, allocations: 6.87 MB / 0.8245 GB, free: 12.69 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.343, allocations: 5.965 MB / 0.8304 GB, free: 6.699 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003399/0.3464, allocations: 0.8438 MB / 0.8312 GB, free: 5.855 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008021/0.3545, allocations: 1.663 MB / 0.8328 GB, free: 4.191 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.005038/0.3595, allocations: 2.204 MB / 0.835 GB, free: 1.98 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0111/0.3706, allocations: 4.299 MB / 0.8392 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01981/0.3904, allocations: 12.2 MB / 0.8511 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3904, allocations: 0 / 0.8511 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3904, allocations: 0 / 0.8511 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0005088/0.3909, allocations: 4 kB / 0.8511 GB, free: 1.422 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02439/0.4153, allocations: 7.929 MB / 0.8588 GB, free: 9.402 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.4154, allocations: 8.031 kB / 0.8588 GB, free: 9.395 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002031/0.4156, allocations: 147.2 kB / 0.859 GB, free: 9.25 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003421/0.419, allocations: 0.7681 MB / 0.8597 GB, free: 8.473 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.4244, allocations: 0.8829 MB / 0.8606 GB, free: 7.586 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.4395, allocations: 6.359 MB / 0.8668 GB, free: 1.172 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005115/0.44, allocations: 419 kB / 0.8672 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002244/0.4423, allocations: 0.5351 MB / 0.8677 GB, free: 232 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4293/0.8716, allocations: 8.079 MB / 0.8756 GB, free: 127.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.8717, allocations: 13.84 kB / 0.8756 GB, free: 127.4 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007185/0.8725, allocations: 239.5 kB / 0.8758 GB, free: 127.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.8727, allocations: 167.3 kB / 0.876 GB, free: 127.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/0.8885, allocations: 6.527 MB / 0.8824 GB, free: 125.1 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.04209/0.9306, allocations: 31.31 MB / 0.9129 GB, free: 99.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/0.9358, allocations: 3.44 MB / 0.9163 GB, free: 95.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.939, allocations: 2.584 MB / 0.9188 GB, free: 93.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007485/0.9398, allocations: 0.8302 MB / 0.9196 GB, free: 92.22 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.9398, allocations: 68.67 kB / 0.9197 GB, free: 92.14 MB / 0.67 GB Notification: Performance of pre-optimization done (n=267): time 4.248e-06/0.9398, allocations: 3.156 kB / 0.9197 GB, free: 92.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=267): time 0.009236/0.9491, allocations: 5.778 MB / 0.9253 GB, free: 86.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.9491, allocations: 77.52 kB / 0.9254 GB, free: 86.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/0.9555, allocations: 5.228 MB / 0.9305 GB, free: 81.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005426/0.9561, allocations: 81.7 kB / 0.9306 GB, free: 80.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.9577, allocations: 2.939 MB / 0.9335 GB, free: 78.29 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.9587, allocations: 0.9792 MB / 0.9344 GB, free: 77.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000795/0.9595, allocations: 0.7156 MB / 0.9351 GB, free: 76.72 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.9596, allocations: 305.1 kB / 0.9354 GB, free: 76.42 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.9616, allocations: 1.683 MB / 0.9371 GB, free: 74.73 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.964, allocations: 2.932 MB / 0.9399 GB, free: 71.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004644/0.9686, allocations: 4.968 MB / 0.9448 GB, free: 65.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/0.9686, allocations: 12 kB / 0.9448 GB, free: 65.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007542/0.9762, allocations: 5.444 MB / 0.9501 GB, free: 60.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.9762, allocations: 28.19 kB / 0.9501 GB, free: 60.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/0.9763, allocations: 40 kB / 0.9502 GB, free: 60.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008494/0.9771, allocations: 427.5 kB / 0.9506 GB, free: 59.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.9798, allocations: 0.8648 MB / 0.9514 GB, free: 58.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/0.984, allocations: 5.693 MB / 0.957 GB, free: 52.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/0.9882, allocations: 0.5305 MB / 0.9575 GB, free: 52.51 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/0.9886, allocations: 176 kB / 0.9577 GB, free: 52.34 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.003288/0.9919, allocations: 2.292 MB / 0.9599 GB, free: 50.05 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/0.9932, allocations: 0.4969 MB / 0.9604 GB, free: 49.55 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/0.9989, allocations: 4.174 MB / 0.9645 GB, free: 45.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.9989, allocations: 24 kB / 0.9645 GB, free: 45.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.9989, allocations: 8 kB / 0.9645 GB, free: 45.29 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003983/1.003, allocations: 3.62 MB / 0.968 GB, free: 41.55 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.018, allocations: 10.26 MB / 0.9781 GB, free: 31.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.018, allocations: 4 kB / 0.9781 GB, free: 31.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.019, allocations: 0.5031 MB / 0.9786 GB, free: 30.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007285/1.02, allocations: 375.3 kB / 0.9789 GB, free: 30.31 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/1.02, allocations: 75.97 kB / 0.979 GB, free: 30.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/1.024, allocations: 5.652 MB / 0.9845 GB, free: 24.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.024, allocations: 11.88 kB / 0.9845 GB, free: 24.31 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007801/1.032, allocations: 6.245 MB / 0.9906 GB, free: 17.89 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/1.035, allocations: 1.126 MB / 0.9917 GB, free: 16.74 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009665/1.036, allocations: 63.98 kB / 0.9918 GB, free: 16.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002712/1.038, allocations: 177.6 kB / 0.9919 GB, free: 16.51 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/1.039, allocations: 177.6 kB / 0.9921 GB, free: 16.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.039, allocations: 127.9 kB / 0.9922 GB, free: 16.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005099/1.044, allocations: 3.843 MB / 0.996 GB, free: 12.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.044, allocations: 4 kB / 0.996 GB, free: 12.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005907/1.05, allocations: 1.821 MB / 0.9978 GB, free: 10.55 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.008431/1.058, allocations: 7.161 MB / 1.005 GB, free: 3.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005869/1.064, allocations: 4.134 MB / 1.009 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.064, allocations: 3.781 kB / 1.009 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003138/1.067, allocations: 1.918 MB / 1.011 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01726/1.085, allocations: 3.459 MB / 1.014 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09634/1.181, allocations: 47.1 MB / 1.06 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005453/1.186, allocations: 4.303 MB / 1.064 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005735/1.192, allocations: 1.842 MB / 1.066 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004565/1.197, allocations: 2.456 MB / 1.068 GB, free: 348 kB / 0.7325 GB Notification: Performance of SimCode: time 1.262e-06/1.197, allocations: 0 / 1.068 GB, free: 348 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6217/1.818, allocations: 154.6 MB / 1.219 GB, free: 288.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.03/21.84, allocations: 12.19 kB / 1.219 GB, free: 288.4 MB / 0.8575 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.0774136739783] Failed to read output from testmodel.py, exit status != 0: 22.06373434799025 22.073181617 21.68008198 Calling exit ...