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.001393/0.001393, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.001579/0.001579, allocations: 203.1 kB / 20.8 MB, free: 2.371 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.452/1.452, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9567/0.9567, allocations: 150 MB / 460.2 MB, free: 5.258 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.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.001906/0.001906, allocations: 70.8 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1781, allocations: 89.13 MB / 0.7238 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06021/0.2383, allocations: 56.71 MB / 0.7792 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0268/0.2651, allocations: 18.09 MB / 0.7969 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003518/0.2686, allocations: 103.2 kB / 0.797 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.2718, allocations: 0.9274 MB / 0.7979 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008144/0.2799, allocations: 2.608 MB / 0.8004 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004241/0.2842, allocations: 1.535 MB / 0.8019 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0247/0.3089, allocations: 21.27 MB / 0.8227 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.3223, allocations: 8.874 MB / 0.8314 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01797/0.3403, allocations: 7.526 MB / 0.8387 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01284/0.3531, allocations: 6.576 MB / 0.8451 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003224/0.3563, allocations: 0.9375 MB / 0.8461 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007523/0.3639, allocations: 1.756 MB / 0.8478 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004453/0.3683, allocations: 2.434 MB / 0.8502 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.3806, allocations: 4.723 MB / 0.8548 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02235/0.403, allocations: 13.33 MB / 0.8678 GB, free: 108 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.403, allocations: 0 / 0.8678 GB, free: 108 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.224e-06/0.403, allocations: 0 / 0.8678 GB, free: 108 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005118/0.4035, allocations: 0 / 0.8678 GB, free: 108 kB / 0.67 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.4027/0.8062, allocations: 8.711 MB / 0.8763 GB, free: 131.3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.8063, allocations: 8.859 kB / 0.8763 GB, free: 131.3 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002632/0.8065, allocations: 158.8 kB / 0.8765 GB, free: 131.2 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003318/0.8099, allocations: 0.843 MB / 0.8773 GB, free: 130.8 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006184/0.816, allocations: 0.9548 MB / 0.8782 GB, free: 130.3 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/0.8321, allocations: 6.758 MB / 0.8848 GB, free: 127.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004833/0.8326, allocations: 460.1 kB / 0.8852 GB, free: 126.9 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/0.8346, allocations: 0.5917 MB / 0.8858 GB, free: 126.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.8497, allocations: 9.04 MB / 0.8947 GB, free: 121.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.8499, allocations: 29 kB / 0.8947 GB, free: 121.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007077/0.8506, allocations: 264.8 kB / 0.8949 GB, free: 120.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.8507, allocations: 174.5 kB / 0.8951 GB, free: 120.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.862, allocations: 7.465 MB / 0.9024 GB, free: 113.5 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.04005/0.9021, allocations: 36.1 MB / 0.9376 GB, free: 75.72 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004721/0.9068, allocations: 4 MB / 0.9415 GB, free: 71.73 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003336/0.9101, allocations: 3.042 MB / 0.9445 GB, free: 68.68 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009625/0.9111, allocations: 0.9595 MB / 0.9455 GB, free: 67.54 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002892/0.914, allocations: 2.386 MB / 0.9478 GB, free: 65.12 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002603/0.9166, allocations: 397.1 kB / 0.9482 GB, free: 64.73 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 8.556e-06/0.9166, allocations: 1.781 kB / 0.9482 GB, free: 64.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01065/0.9272, allocations: 7.147 MB / 0.9551 GB, free: 57.49 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.9273, allocations: 89.91 kB / 0.9552 GB, free: 57.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006597/0.9339, allocations: 5.667 MB / 0.9608 GB, free: 51.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005104/0.9344, allocations: 85.7 kB / 0.9608 GB, free: 51.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/0.9365, allocations: 3.271 MB / 0.964 GB, free: 48.36 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009928/0.9374, allocations: 1.17 MB / 0.9652 GB, free: 47.18 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.9385, allocations: 0.8624 MB / 0.966 GB, free: 46.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.9385, allocations: 305.1 kB / 0.9663 GB, free: 46 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.9411, allocations: 2.163 MB / 0.9684 GB, free: 43.83 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.9441, allocations: 3.697 MB / 0.972 GB, free: 39.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005812/0.95, allocations: 6.323 MB / 0.9782 GB, free: 32.39 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/0.95, allocations: 15.94 kB / 0.9782 GB, free: 32.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008892/0.9589, allocations: 6.786 MB / 0.9849 GB, free: 25.54 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.9589, allocations: 57.69 kB / 0.9849 GB, free: 25.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/0.959, allocations: 48 kB / 0.985 GB, free: 25.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008345/0.9598, allocations: 431.4 kB / 0.9854 GB, free: 25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/0.9628, allocations: 1.011 MB / 0.9864 GB, free: 23.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004171/0.967, allocations: 5.712 MB / 0.9919 GB, free: 18.01 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004482/0.9715, allocations: 287.7 kB / 0.9922 GB, free: 17.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000359/0.9718, allocations: 216 kB / 0.9924 GB, free: 17.52 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.003286/0.9751, allocations: 2.485 MB / 0.9948 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/0.9764, allocations: 0.5512 MB / 0.9954 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006975/0.9834, allocations: 5.259 MB / 1.001 GB, free: 9.168 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.9834, allocations: 36 kB / 1.001 GB, free: 9.133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.9834, allocations: 4 kB / 1.001 GB, free: 9.129 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004939/0.9884, allocations: 4.512 MB / 1.005 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02183/1.01, allocations: 11.97 MB / 1.017 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.01, allocations: 4 kB / 1.017 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/1.013, allocations: 0.6438 MB / 1.017 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00092/1.014, allocations: 369.3 kB / 1.018 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/1.014, allocations: 83.95 kB / 1.018 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006643/1.021, allocations: 5.631 MB / 1.023 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.021, allocations: 4 kB / 1.023 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/1.036, allocations: 7.776 MB / 1.031 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004039/1.04, allocations: 1.177 MB / 1.032 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001803/1.042, allocations: 71.98 kB / 1.032 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004124/1.046, allocations: 202.6 kB / 1.032 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005205/1.047, allocations: 198.2 kB / 1.032 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004011/1.047, allocations: 139.9 kB / 1.033 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.007481/1.055, allocations: 3.963 MB / 1.036 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.01e-07/1.055, allocations: 3.938 kB / 1.036 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.008382/1.063, allocations: 2.023 MB / 1.038 GB, free: 1.754 MB / 0.7012 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.01469/1.078, allocations: 8.707 MB / 1.047 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009008/1.087, allocations: 5.241 MB / 1.052 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.087, allocations: 8.188 kB / 1.052 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003872/1.091, allocations: 2.365 MB / 1.054 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0171/1.108, allocations: 3.389 MB / 1.058 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09301/1.201, allocations: 52.55 MB / 1.109 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005105/1.206, allocations: 4.632 MB / 1.113 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.006458/1.212, allocations: 2.08 MB / 1.116 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004886/1.217, allocations: 2.674 MB / 1.118 GB, free: 13.87 MB / 0.795 GB Notification: Performance of SimCode: time 1.493e-06/1.217, allocations: 0 / 1.118 GB, free: 13.87 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6224/1.84, allocations: 160.5 MB / 1.275 GB, free: 245.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.38/23.22, allocations: 8.062 kB / 1.275 GB, free: 245.7 MB / 0.8575 GB " [Timeout remaining time 637] (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: 27.58873327501351] Failed to read output from testmodel.py, exit status != 0: 23.456072350032628 23.467430065 23.061892286 Calling exit ...