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.001624/0.001624, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00152/0.00152, allocations: 214.3 kB / 22.99 MB, free: 4.977 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9378/0.9378, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.002052/0.002052, allocations: 67.97 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1849, allocations: 89.18 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4219/0.6068, allocations: 51.62 MB / 0.7786 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.6296, allocations: 16.82 MB / 0.795 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003443/0.633, allocations: 104.5 kB / 0.7951 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.6361, allocations: 0.9074 MB / 0.796 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009095/0.6452, allocations: 2.655 MB / 0.7986 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.65, allocations: 1.577 MB / 0.8001 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02667/0.6767, allocations: 22.04 MB / 0.8216 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01579/0.6925, allocations: 7.088 MB / 0.8286 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0182/0.7107, allocations: 7.585 MB / 0.836 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01485/0.7255, allocations: 6.9 MB / 0.8427 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003483/0.729, allocations: 0.9375 MB / 0.8436 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007896/0.7369, allocations: 1.577 MB / 0.8452 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004783/0.7417, allocations: 2.422 MB / 0.8475 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.7518, allocations: 3.88 MB / 0.8513 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01932/0.7712, allocations: 13.37 MB / 0.8644 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7712, allocations: 4 kB / 0.8644 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7712, allocations: 0 / 0.8644 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000453/0.7716, allocations: 0 / 0.8644 GB, free: 10.66 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.02308/0.7947, allocations: 8.638 MB / 0.8728 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.7948, allocations: 8.031 kB / 0.8728 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001973/0.7967, allocations: 0.8422 MB / 0.8736 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.8004, allocations: 0.9605 MB / 0.8746 GB, free: 112 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/0.8158, allocations: 6.794 MB / 0.8812 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/0.8163, allocations: 456.2 kB / 0.8817 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/0.8184, allocations: 0.5937 MB / 0.8822 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/0.8385, allocations: 10.11 MB / 0.8921 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/0.8386, allocations: 15.88 kB / 0.8921 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008545/0.8395, allocations: 268 kB / 0.8924 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.8397, allocations: 179.9 kB / 0.8926 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.8569, allocations: 7.446 MB / 0.8998 GB, free: 5.59 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.05359/0.9104, allocations: 27.27 MB / 0.9265 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006877/0.9173, allocations: 3.967 MB / 0.9303 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005047/0.9224, allocations: 3.031 MB / 0.9333 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009635/0.9233, allocations: 206.1 kB / 0.9335 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004823/0.9282, allocations: 3.452 MB / 0.9369 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002725/0.9309, allocations: 397 kB / 0.9372 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.113e-05/0.9309, allocations: 0 / 0.9372 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01395/0.9448, allocations: 7.012 MB / 0.9441 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.9449, allocations: 85.91 kB / 0.9442 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00946/0.9544, allocations: 5.759 MB / 0.9498 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008177/0.9552, allocations: 93.7 kB / 0.9499 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003522/0.9587, allocations: 3.271 MB / 0.9531 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001854/0.9606, allocations: 1.174 MB / 0.9542 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/0.962, allocations: 0.8586 MB / 0.9551 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.9621, allocations: 304.9 kB / 0.9553 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003582/0.9657, allocations: 2.189 MB / 0.9575 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/0.9706, allocations: 3.822 MB / 0.9612 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009465/0.9801, allocations: 6.335 MB / 0.9674 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.942e-05/0.9801, allocations: 12 kB / 0.9674 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01268/0.9928, allocations: 6.816 MB / 0.9741 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.9929, allocations: 53.69 kB / 0.9741 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.547e-05/0.9929, allocations: 55.94 kB / 0.9742 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.994, allocations: 433.4 kB / 0.9746 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003855/0.9979, allocations: 1.006 MB / 0.9756 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/1.004, allocations: 5.422 MB / 0.9809 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005343/1.01, allocations: 291.6 kB / 0.9811 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008457/1.011, allocations: 212 kB / 0.9813 GB, free: 15.48 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.005081/1.016, allocations: 2.487 MB / 0.9838 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001799/1.018, allocations: 0.559 MB / 0.9843 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009773/1.027, allocations: 5.253 MB / 0.9894 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/1.027, allocations: 35.94 kB / 0.9895 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.027, allocations: 7.938 kB / 0.9895 GB, free: 7.078 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007311/1.035, allocations: 4.528 MB / 0.9939 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02884/1.063, allocations: 11.07 MB / 1.005 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/1.064, allocations: 0 / 1.005 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/1.067, allocations: 0.6477 MB / 1.005 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009799/1.068, allocations: 375.7 kB / 1.006 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004569/1.068, allocations: 79.95 kB / 1.006 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006497/1.075, allocations: 5.332 MB / 1.011 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.075, allocations: 4.281 kB / 1.011 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/1.089, allocations: 7.74 MB / 1.019 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004379/1.094, allocations: 1.146 MB / 1.02 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/1.096, allocations: 71.92 kB / 1.02 GB, free: 7.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/1.099, allocations: 199.8 kB / 1.02 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005765/1.1, allocations: 206.1 kB / 1.02 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005061/1.101, allocations: 139.9 kB / 1.02 GB, free: 7.008 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.008445/1.109, allocations: 3.967 MB / 1.024 GB, free: 3.062 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.61e-07/1.109, allocations: 0 / 1.024 GB, free: 3.062 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008089/1.117, allocations: 2.035 MB / 1.026 GB, free: 1.023 MB / 0.795 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.01621/1.133, allocations: 8.673 MB / 1.035 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009853/1.143, allocations: 5.262 MB / 1.04 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.143, allocations: 4.125 kB / 1.04 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004315/1.147, allocations: 2.369 MB / 1.042 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01802/1.165, allocations: 3.399 MB / 1.045 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4537/1.619, allocations: 52.73 MB / 1.097 GB, free: 285.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006435/1.626, allocations: 4.146 MB / 1.101 GB, free: 284.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00882/1.634, allocations: 2.07 MB / 1.103 GB, free: 284.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003996/1.638, allocations: 2.676 MB / 1.106 GB, free: 284.7 MB / 0.8575 GB Notification: Performance of SimCode: time 1.753e-06/1.638, allocations: 0 / 1.106 GB, free: 284.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2119/1.85, allocations: 171 MB / 1.273 GB, free: 141.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.14/20.99, allocations: 8.469 kB / 1.273 GB, free: 141.7 MB / 0.8575 GB " [Timeout remaining time 639] (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: 24.97684555221349] Failed to read output from testmodel.py, exit status != 0: 21.193315845914185 21.203739642 20.430038147 Calling exit ...