Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_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.001566/0.001566, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001794, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9127/0.9127, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.88 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2918/0.436, allocations: 55.97 MB / 0.6391 GB, free: 20.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.4526, allocations: 17.92 MB / 0.6566 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.4548, allocations: 77.66 kB / 0.6567 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.4566, allocations: 0.8894 MB / 0.6576 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004986/0.4616, allocations: 2.506 MB / 0.66 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.4644, allocations: 1.519 MB / 0.6615 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01883/0.4832, allocations: 21.21 MB / 0.6822 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01417/0.4974, allocations: 10.71 MB / 0.6927 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01449/0.5119, allocations: 7.155 MB / 0.6997 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.5228, allocations: 6.388 MB / 0.7059 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003749/0.5266, allocations: 1.07 MB / 0.7069 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006187/0.5328, allocations: 1.69 MB / 0.7086 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002558/0.5354, allocations: 2.341 MB / 0.7109 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008984/0.5444, allocations: 4.711 MB / 0.7155 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.5561, allocations: 13.04 MB / 0.7282 GB, free: 9.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.5562, allocations: 4 kB / 0.7282 GB, free: 9.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5562, allocations: 3.938 kB / 0.7282 GB, free: 9.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002877/0.5565, allocations: 4 kB / 0.7282 GB, free: 9.785 MB / 0.545 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.01602/0.5725, allocations: 8.515 MB / 0.7365 GB, free: 1.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5726, allocations: 8.031 kB / 0.7365 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001154/0.5737, allocations: 0.8422 MB / 0.7374 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.5762, allocations: 0.8587 MB / 0.7382 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.5863, allocations: 6.419 MB / 0.7445 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.5867, allocations: 460.2 kB / 0.7449 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009332/0.5876, allocations: 0.6014 MB / 0.7455 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.6011, allocations: 9.027 MB / 0.7543 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.6013, allocations: 19.78 kB / 0.7543 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005988/0.6019, allocations: 267.9 kB / 0.7546 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.602, allocations: 180 kB / 0.7548 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.6131, allocations: 7.449 MB / 0.762 GB, free: 6.656 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.03834/0.6515, allocations: 36.25 MB / 0.7974 GB, free: 348 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/0.6571, allocations: 4.273 MB / 0.8016 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004181/0.6613, allocations: 3.306 MB / 0.8048 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.6625, allocations: 0.9543 MB / 0.8058 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00337/0.6659, allocations: 2.394 MB / 0.8081 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002504/0.6684, allocations: 375.7 kB / 0.8085 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 7.384e-06/0.6684, allocations: 0 / 0.8085 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01181/0.6803, allocations: 7.129 MB / 0.8154 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.6803, allocations: 85.91 kB / 0.8155 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/0.6874, allocations: 5.666 MB / 0.821 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.6877, allocations: 93.7 kB / 0.8211 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002744/0.6904, allocations: 3.196 MB / 0.8243 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/0.6915, allocations: 1.117 MB / 0.8253 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/0.6926, allocations: 0.858 MB / 0.8262 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.6927, allocations: 305.1 kB / 0.8265 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/0.6958, allocations: 2.163 MB / 0.8286 GB, free: 64 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/0.6998, allocations: 3.689 MB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007485/0.7073, allocations: 6.323 MB / 0.8384 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.7074, allocations: 16 kB / 0.8384 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01003/0.7174, allocations: 6.776 MB / 0.845 GB, free: 13.78 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.7175, allocations: 49.92 kB / 0.845 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.107e-05/0.7175, allocations: 52 kB / 0.8451 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009247/0.7185, allocations: 441.2 kB / 0.8455 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/0.7219, allocations: 1.006 MB / 0.8465 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005354/0.7273, allocations: 5.694 MB / 0.8521 GB, free: 6.262 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/0.7312, allocations: 291.4 kB / 0.8523 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/0.7315, allocations: 220 kB / 0.8525 GB, free: 5.762 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.003494/0.735, allocations: 2.474 MB / 0.855 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.736, allocations: 0.5288 MB / 0.8555 GB, free: 2.742 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2423/0.9784, allocations: 5.272 MB / 0.8606 GB, free: 201.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.9784, allocations: 29 kB / 0.8607 GB, free: 201.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.9784, allocations: 9.672 kB / 0.8607 GB, free: 201.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005292/0.9837, allocations: 4.525 MB / 0.8651 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/1.001, allocations: 12.04 MB / 0.8768 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.001, allocations: 3 kB / 0.8768 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.003, allocations: 0.6436 MB / 0.8775 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007125/1.004, allocations: 376.6 kB / 0.8778 GB, free: 195.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/1.004, allocations: 82.31 kB / 0.8779 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/1.008, allocations: 5.611 MB / 0.8834 GB, free: 191.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.008, allocations: 9.078 kB / 0.8834 GB, free: 191.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.019, allocations: 7.756 MB / 0.891 GB, free: 188.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002873/1.022, allocations: 1.163 MB / 0.8921 GB, free: 188.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009658/1.023, allocations: 65.38 kB / 0.8922 GB, free: 188.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/1.026, allocations: 191.9 kB / 0.8924 GB, free: 188.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004705/1.026, allocations: 198.8 kB / 0.8925 GB, free: 188 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/1.026, allocations: 150.1 kB / 0.8927 GB, free: 188 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006328/1.033, allocations: 3.959 MB / 0.8966 GB, free: 186.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.61e-07/1.033, allocations: 0 / 0.8966 GB, free: 186.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006546/1.039, allocations: 2.01 MB / 0.8985 GB, free: 186.4 MB / 0.67 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.01226/1.052, allocations: 8.717 MB / 0.907 GB, free: 182.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02109/1.073, allocations: 11.63 MB / 0.9184 GB, free: 180.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.073, allocations: 4.969 kB / 0.9184 GB, free: 180.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003237/1.076, allocations: 2.537 MB / 0.9209 GB, free: 179.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01463/1.091, allocations: 3.404 MB / 0.9242 GB, free: 178.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06699/1.158, allocations: 64.75 MB / 0.9874 GB, free: 115 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/1.162, allocations: 4.632 MB / 0.992 GB, free: 110.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005892/1.168, allocations: 2.078 MB / 0.994 GB, free: 108.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003309/1.171, allocations: 2.667 MB / 0.9966 GB, free: 105.6 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/1.171, allocations: 7.938 kB / 0.9966 GB, free: 105.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.321/7.492, allocations: 165.6 MB / 1.158 GB, free: 207.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/23.93, allocations: 4.609 kB / 1.158 GB, free: 207.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)