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.006489/0.006489, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001314/0.001314, allocations: 198.5 kB / 16.67 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 71.89 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.465, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05251/0.5176, allocations: 55.99 MB / 0.7188 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.5413, allocations: 17.93 MB / 0.7363 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00409/0.5455, allocations: 75.56 kB / 0.7364 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.5482, allocations: 0.8924 MB / 0.7373 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008911/0.5572, allocations: 2.499 MB / 0.7397 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.5615, allocations: 1.536 MB / 0.7412 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02193/0.5834, allocations: 21.22 MB / 0.7619 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0128/0.5962, allocations: 10.7 MB / 0.7724 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/0.6105, allocations: 7.251 MB / 0.7795 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/0.6221, allocations: 6.378 MB / 0.7857 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003567/0.6257, allocations: 0.9375 MB / 0.7866 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00912/0.6349, allocations: 1.698 MB / 0.7883 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005406/0.6403, allocations: 2.341 MB / 0.7906 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01066/0.651, allocations: 4.707 MB / 0.7952 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01935/0.6704, allocations: 13.19 MB / 0.808 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.6704, allocations: 0 / 0.808 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.926e-06/0.6704, allocations: 4 kB / 0.808 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005183/0.6709, allocations: 3.938 kB / 0.808 GB, free: 13.77 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.02607/0.697, allocations: 8.522 MB / 0.8164 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.6971, allocations: 8.031 kB / 0.8164 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003387/0.7005, allocations: 0.8461 MB / 0.8172 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.7053, allocations: 0.8508 MB / 0.818 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/0.7222, allocations: 6.703 MB / 0.8246 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.7228, allocations: 460.2 kB / 0.825 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/0.7253, allocations: 0.5937 MB / 0.8256 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.744, allocations: 9.028 MB / 0.8344 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.7441, allocations: 15.88 kB / 0.8344 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006409/0.7448, allocations: 260 kB / 0.8347 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.7449, allocations: 179.9 kB / 0.8348 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.7573, allocations: 7.449 MB / 0.8421 GB, free: 10.37 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.4331/1.19, allocations: 35.98 MB / 0.8773 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007266/1.198, allocations: 4.287 MB / 0.8814 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004884/1.203, allocations: 3.296 MB / 0.8847 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.204, allocations: 0.9586 MB / 0.8856 GB, free: 156.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003731/1.208, allocations: 2.389 MB / 0.8879 GB, free: 155.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002581/1.21, allocations: 366.3 kB / 0.8883 GB, free: 155.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 9.869e-06/1.21, allocations: 2.562 kB / 0.8883 GB, free: 155.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01283/1.223, allocations: 7.133 MB / 0.8953 GB, free: 153 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/1.223, allocations: 84.09 kB / 0.8953 GB, free: 152.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/1.233, allocations: 5.667 MB / 0.9009 GB, free: 150.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008458/1.234, allocations: 87.64 kB / 0.901 GB, free: 150 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002908/1.237, allocations: 3.201 MB / 0.9041 GB, free: 147.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.239, allocations: 1.118 MB / 0.9052 GB, free: 146.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/1.24, allocations: 0.8547 MB / 0.906 GB, free: 145.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/1.24, allocations: 306.5 kB / 0.9063 GB, free: 145.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/1.244, allocations: 2.166 MB / 0.9084 GB, free: 144.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003844/1.248, allocations: 3.699 MB / 0.912 GB, free: 141.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006544/1.254, allocations: 6.316 MB / 0.9182 GB, free: 136.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.578e-05/1.254, allocations: 14 kB / 0.9182 GB, free: 136.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01003/1.264, allocations: 6.773 MB / 0.9248 GB, free: 133.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.118e-05/1.264, allocations: 56.73 kB / 0.9249 GB, free: 133.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.712e-05/1.264, allocations: 52.47 kB / 0.9249 GB, free: 133.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008571/1.265, allocations: 439.4 kB / 0.9253 GB, free: 133.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/1.269, allocations: 1.003 MB / 0.9263 GB, free: 132.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00435/1.273, allocations: 5.702 MB / 0.9319 GB, free: 128.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004844/1.278, allocations: 284.9 kB / 0.9322 GB, free: 127.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004435/1.278, allocations: 219.2 kB / 0.9324 GB, free: 127.9 MB / 0.6856 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.004089/1.282, allocations: 2.488 MB / 0.9348 GB, free: 125.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.284, allocations: 0.5249 MB / 0.9353 GB, free: 125.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007185/1.291, allocations: 5.262 MB / 0.9404 GB, free: 120 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/1.291, allocations: 36 kB / 0.9405 GB, free: 119.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/1.291, allocations: 4 kB / 0.9405 GB, free: 119.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005085/1.296, allocations: 4.535 MB / 0.9449 GB, free: 115.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.317, allocations: 11.97 MB / 0.9566 GB, free: 103.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.317, allocations: 0 / 0.9566 GB, free: 103.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.32, allocations: 0.6438 MB / 0.9572 GB, free: 102.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007296/1.32, allocations: 377.3 kB / 0.9576 GB, free: 102.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/1.321, allocations: 83.89 kB / 0.9577 GB, free: 102.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/1.325, allocations: 5.616 MB / 0.9632 GB, free: 96.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.325, allocations: 64 / 0.9632 GB, free: 96.31 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009747/1.335, allocations: 7.765 MB / 0.9707 GB, free: 88.45 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003724/1.338, allocations: 1.159 MB / 0.9719 GB, free: 87.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/1.34, allocations: 63.98 kB / 0.9719 GB, free: 87.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/1.343, allocations: 198.9 kB / 0.9721 GB, free: 87.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/1.343, allocations: 202.2 kB / 0.9723 GB, free: 86.81 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.343, allocations: 139.9 kB / 0.9725 GB, free: 86.67 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005067/1.348, allocations: 3.963 MB / 0.9763 GB, free: 82.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.01e-07/1.348, allocations: 0 / 0.9763 GB, free: 82.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006287/1.355, allocations: 2.002 MB / 0.9783 GB, free: 80.74 MB / 0.6856 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.01115/1.366, allocations: 8.72 MB / 0.9868 GB, free: 71.97 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006944/1.373, allocations: 5.45 MB / 0.9921 GB, free: 66.47 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.373, allocations: 5 kB / 0.9921 GB, free: 66.47 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002839/1.376, allocations: 2.537 MB / 0.9946 GB, free: 63.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/1.391, allocations: 3.394 MB / 0.9979 GB, free: 60.62 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07452/1.466, allocations: 52.33 MB / 1.049 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003457/1.469, allocations: 4.63 MB / 1.054 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.006064/1.475, allocations: 2.082 MB / 1.056 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005246/1.481, allocations: 2.667 MB / 1.058 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of SimCode: time 1.092e-06/1.481, allocations: 0 / 1.058 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6265/2.107, allocations: 162.5 MB / 1.217 GB, free: 248.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.53/23.64, allocations: 4.703 kB / 1.217 GB, free: 248.5 MB / 0.795 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)