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: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009028, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001561/0.001561, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9587/0.9587, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 11.98 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2035, allocations: 82.3 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4581/0.6616, allocations: 51.52 MB / 0.6377 GB, free: 23.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02084/0.6825, allocations: 16.8 MB / 0.6541 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/0.6861, allocations: 66.91 kB / 0.6541 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.689, allocations: 0.639 MB / 0.6548 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007396/0.6964, allocations: 1.983 MB / 0.6567 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004037/0.7005, allocations: 1.094 MB / 0.6578 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02592/0.7264, allocations: 23.57 MB / 0.6808 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/0.7427, allocations: 7.177 MB / 0.6878 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01721/0.76, allocations: 5.3 MB / 0.693 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01567/0.7757, allocations: 5.496 MB / 0.6983 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003337/0.7791, allocations: 346.2 kB / 0.6987 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008654/0.7878, allocations: 0.7829 MB / 0.6994 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004732/0.7926, allocations: 1.525 MB / 0.7009 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006094/0.7987, allocations: 1.61 MB / 0.7025 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/0.8175, allocations: 10.33 MB / 0.7126 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.107e-05/0.8176, allocations: 0 / 0.7126 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8176, allocations: 3.938 kB / 0.7126 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007023/0.8183, allocations: 3.938 kB / 0.7126 GB, free: 12.42 MB / 0.5294 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.02156/0.8399, allocations: 6.952 MB / 0.7194 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.84, allocations: 8.031 kB / 0.7194 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.8449, allocations: 0.8577 MB / 0.7202 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01551/0.8604, allocations: 6.465 MB / 0.7265 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006163/0.8611, allocations: 460.2 kB / 0.727 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.8635, allocations: 0.6013 MB / 0.7276 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02349/0.887, allocations: 8.98 MB / 0.7363 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003316/0.8874, allocations: 19.7 kB / 0.7364 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001918/0.8893, allocations: 256 kB / 0.7366 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/0.8895, allocations: 183.9 kB / 0.7368 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/0.9109, allocations: 7.414 MB / 0.744 GB, free: 11.75 MB / 0.5606 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.06037/0.9713, allocations: 35.96 MB / 0.7791 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007723/0.9791, allocations: 4.272 MB / 0.7833 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00572/0.9849, allocations: 3.392 MB / 0.7866 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.9864, allocations: 0.9817 MB / 0.7876 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005203/0.9916, allocations: 2.382 MB / 0.7899 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003488/0.9951, allocations: 447.8 kB / 0.7903 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=317): time 1.052e-05/0.9951, allocations: 0 / 0.7903 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=317): time 0.01643/1.012, allocations: 7.089 MB / 0.7972 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/1.012, allocations: 85.91 kB / 0.7973 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.023, allocations: 5.428 MB / 0.8026 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0009239/1.024, allocations: 85.7 kB / 0.8027 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.003921/1.028, allocations: 3.192 MB / 0.8058 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002191/1.03, allocations: 1.117 MB / 0.8069 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/1.031, allocations: 92 kB / 0.807 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0005297/1.031, allocations: 487.6 kB / 0.8075 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004497/1.036, allocations: 2.144 MB / 0.8096 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006081/1.042, allocations: 3.673 MB / 0.8132 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005702/1.048, allocations: 2.892 MB / 0.816 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.638e-05/1.048, allocations: 16 kB / 0.816 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01597/1.064, allocations: 6.732 MB / 0.8226 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.064, allocations: 53.7 kB / 0.8226 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.753e-05/1.064, allocations: 48 kB / 0.8227 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.065, allocations: 442.1 kB / 0.8231 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004103/1.069, allocations: 1.014 MB / 0.8241 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/1.075, allocations: 5.253 MB / 0.8292 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/1.082, allocations: 470.7 kB / 0.8297 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.083, allocations: 216 kB / 0.8299 GB, free: 352 kB / 0.6387 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007098/1.09, allocations: 2.483 MB / 0.8323 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002458/1.092, allocations: 0.5248 MB / 0.8328 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.106, allocations: 5.244 MB / 0.8379 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.075e-05/1.106, allocations: 35.94 kB / 0.838 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.39e-05/1.106, allocations: 4 kB / 0.838 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008172/1.114, allocations: 4.516 MB / 0.8424 GB, free: 3.371 MB / 0.6544 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 postOpt removeSimpleEquations (simulation): time 0.02975/1.144, allocations: 11.97 MB / 0.8541 GB, free: 7.211 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.144, allocations: 0 / 0.8541 GB, free: 7.211 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/1.147, allocations: 0.6555 MB / 0.8547 GB, free: 6.555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009687/1.148, allocations: 373.3 kB / 0.8551 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005242/1.149, allocations: 83.95 kB / 0.8551 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005868/1.155, allocations: 5.166 MB / 0.8602 GB, free: 0.668 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.155, allocations: 4 kB / 0.8602 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.432/1.587, allocations: 7.594 MB / 0.8676 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005311/1.592, allocations: 1.219 MB / 0.8688 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002134/1.594, allocations: 65.44 kB / 0.8689 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004728/1.599, allocations: 467.6 kB / 0.8693 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/1.599, allocations: 198.6 kB / 0.8695 GB, free: 195.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003144/1.6, allocations: 141.3 kB / 0.8696 GB, free: 195.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006216/1.606, allocations: 3.766 MB / 0.8733 GB, free: 194.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/1.606, allocations: 6.891 kB / 0.8733 GB, free: 194.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008056/1.614, allocations: 1.978 MB / 0.8752 GB, free: 194 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/1.616, allocations: 477.5 kB / 0.8757 GB, free: 193.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008732/1.624, allocations: 5.345 MB / 0.8809 GB, free: 191.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.624, allocations: 2.688 kB / 0.8809 GB, free: 191.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003707/1.628, allocations: 2.514 MB / 0.8834 GB, free: 190.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/1.646, allocations: 3.219 MB / 0.8865 GB, free: 190.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/1.685, allocations: 16.15 MB / 0.9023 GB, free: 182.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009632/1.694, allocations: 4.624 MB / 0.9068 GB, free: 180.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009672/1.704, allocations: 1.988 MB / 0.9087 GB, free: 180.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/1.706, allocations: 460.9 kB / 0.9092 GB, free: 180.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.823e-06/1.706, allocations: 0 / 0.9092 GB, free: 180.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1701/1.876, allocations: 112 MB / 1.019 GB, free: 90.08 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)