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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 107.3 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6974/0.6974, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 64.53 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1526, allocations: 76.17 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05801/0.2107, allocations: 55.99 MB / 0.6862 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.2346, allocations: 17.95 MB / 0.7038 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.2375, allocations: 71.62 kB / 0.7038 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.2401, allocations: 0.9041 MB / 0.7047 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.2471, allocations: 2.503 MB / 0.7072 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.251, allocations: 1.535 MB / 0.7087 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02278/0.2737, allocations: 21.26 MB / 0.7294 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01576/0.2896, allocations: 10.68 MB / 0.7399 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4073/0.6969, allocations: 7.227 MB / 0.7469 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01144/0.7084, allocations: 6.361 MB / 0.7531 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003372/0.7118, allocations: 0.938 MB / 0.754 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009172/0.721, allocations: 1.7 MB / 0.7557 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004732/0.7257, allocations: 2.345 MB / 0.758 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0129/0.7386, allocations: 4.702 MB / 0.7626 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.019/0.7577, allocations: 13.19 MB / 0.7755 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.7577, allocations: 0.5312 kB / 0.7755 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7577, allocations: 2.656 kB / 0.7755 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004705/0.7582, allocations: 0.875 kB / 0.7755 GB, free: 12.82 MB / 0.5762 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.02024/0.7785, allocations: 8.518 MB / 0.7838 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.7785, allocations: 9.406 kB / 0.7838 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001551/0.7801, allocations: 0.8378 MB / 0.7846 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/0.7829, allocations: 0.8625 MB / 0.7855 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/0.7944, allocations: 6.694 MB / 0.792 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/0.7947, allocations: 457.8 kB / 0.7924 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.796, allocations: 0.6069 MB / 0.793 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.8114, allocations: 9.018 MB / 0.8018 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.8115, allocations: 22.52 kB / 0.8018 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006473/0.8122, allocations: 265.4 kB / 0.8021 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.8123, allocations: 184.1 kB / 0.8023 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.8236, allocations: 7.447 MB / 0.8096 GB, free: 0.5078 MB / 0.5762 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.05122/0.8748, allocations: 35.99 MB / 0.8447 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00688/0.8817, allocations: 4.288 MB / 0.8489 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004942/0.8867, allocations: 3.294 MB / 0.8521 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.888, allocations: 0.9524 MB / 0.853 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004339/0.8924, allocations: 2.39 MB / 0.8554 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003331/0.8957, allocations: 370.9 kB / 0.8557 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.338e-05/0.8958, allocations: 0 / 0.8557 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01402/0.9098, allocations: 7.131 MB / 0.8627 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.9099, allocations: 88.95 kB / 0.8628 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/0.9219, allocations: 5.674 MB / 0.8683 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008349/0.9228, allocations: 89.7 kB / 0.8684 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00383/0.9266, allocations: 3.185 MB / 0.8715 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001845/0.9285, allocations: 1.128 MB / 0.8726 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002505/0.931, allocations: 0.8464 MB / 0.8734 GB, free: 380 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.9311, allocations: 309 kB / 0.8737 GB, free: 68 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/0.9349, allocations: 2.167 MB / 0.8758 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004769/0.9397, allocations: 3.696 MB / 0.8795 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008603/0.9483, allocations: 6.32 MB / 0.8856 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.706e-05/0.9484, allocations: 12 kB / 0.8856 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01246/0.9609, allocations: 6.782 MB / 0.8923 GB, free: 12.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.837e-05/0.961, allocations: 53.77 kB / 0.8923 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-05/0.9611, allocations: 52 kB / 0.8924 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.9621, allocations: 433.8 kB / 0.8928 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/0.9658, allocations: 1.005 MB / 0.8938 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.9717, allocations: 5.702 MB / 0.8993 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005056/0.9768, allocations: 287.4 kB / 0.8996 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006598/0.9774, allocations: 216 kB / 0.8998 GB, free: 4.258 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.004967/0.9824, allocations: 2.489 MB / 0.9022 GB, free: 1.832 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/0.9844, allocations: 0.521 MB / 0.9027 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009518/0.994, allocations: 5.276 MB / 0.9079 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/0.994, allocations: 28 kB / 0.9079 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.994, allocations: 8 kB / 0.9079 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006526/1.001, allocations: 4.53 MB / 0.9124 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/1.024, allocations: 11.98 MB / 0.9241 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.024, allocations: 0 / 0.9241 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/1.027, allocations: 0.6428 MB / 0.9247 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008694/1.028, allocations: 378.8 kB / 0.925 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000312/1.028, allocations: 79.95 kB / 0.9251 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005441/1.034, allocations: 5.619 MB / 0.9306 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.034, allocations: 0 / 0.9306 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.046, allocations: 7.77 MB / 0.9382 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/1.05, allocations: 1.151 MB / 0.9393 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001794/1.052, allocations: 67.92 kB / 0.9394 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004118/1.056, allocations: 202.2 kB / 0.9396 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005574/1.056, allocations: 197.1 kB / 0.9398 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004673/1.057, allocations: 139.9 kB / 0.9399 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.008326/1.065, allocations: 3.959 MB / 0.9438 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.81e-07/1.065, allocations: 4 kB / 0.9438 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008856/1.074, allocations: 2.011 MB / 0.9457 GB, free: 4.836 MB / 0.7169 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.01507/1.089, allocations: 8.7 MB / 0.9542 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009798/1.099, allocations: 5.447 MB / 0.9595 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.099, allocations: 8.125 kB / 0.9596 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005201/1.104, allocations: 2.538 MB / 0.962 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.018/1.122, allocations: 3.395 MB / 0.9653 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1045/1.227, allocations: 52.34 MB / 1.016 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00742/1.234, allocations: 4.636 MB / 1.021 GB, free: 6.188 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007837/1.242, allocations: 2.081 MB / 1.023 GB, free: 4.109 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005844/1.248, allocations: 2.678 MB / 1.026 GB, free: 1.434 MB / 0.795 GB Notification: Performance of SimCode: time 1.092e-06/1.248, allocations: 0 / 1.026 GB, free: 1.434 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.551/1.799, allocations: 162.5 MB / 1.184 GB, free: 206.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.44/23.24, allocations: 7.609 kB / 1.184 GB, free: 206.8 MB / 0.8106 GB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)