Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.Stratified.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.Stratified") translateModel(IDEAS.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 111.4 kB / 16.42 MB, free: 6.477 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.001605/0.001605, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7861/0.7861, allocations: 132.2 MB / 423.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.3 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1363, allocations: 80.22 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.Stratified): time 0.05341/0.1897, allocations: 56.18 MB / 0.7152 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.2116, allocations: 17.46 MB / 0.7323 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.2139, allocations: 79.56 kB / 0.7323 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.2162, allocations: 0.9821 MB / 0.7333 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006103/0.2224, allocations: 2.554 MB / 0.7358 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.2267, allocations: 1.793 MB / 0.7375 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3712/0.5979, allocations: 29.35 MB / 0.7662 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01645/0.6144, allocations: 14.63 MB / 0.7805 GB, free: 20.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01646/0.6309, allocations: 9.95 MB / 0.7902 GB, free: 19.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.6437, allocations: 8.813 MB / 0.7988 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003232/0.6469, allocations: 1.301 MB / 0.8001 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008185/0.6551, allocations: 2.489 MB / 0.8025 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004297/0.6595, allocations: 3.242 MB / 0.8057 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01237/0.6719, allocations: 6.52 MB / 0.8121 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.6906, allocations: 18.44 MB / 0.8301 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6906, allocations: 0 / 0.8301 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6907, allocations: 0 / 0.8301 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003681/0.691, allocations: 4 kB / 0.8301 GB, free: 7.535 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.01883/0.7099, allocations: 11.98 MB / 0.8418 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.7099, allocations: 12.03 kB / 0.8418 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.713, allocations: 1.232 MB / 0.843 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/0.7272, allocations: 9.371 MB / 0.8521 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004319/0.7277, allocations: 0.6127 MB / 0.8527 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/0.7293, allocations: 0.8137 MB / 0.8535 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/0.7518, allocations: 12.53 MB / 0.8658 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002187/0.7521, allocations: 23.81 kB / 0.8658 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/0.7532, allocations: 361.1 kB / 0.8661 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/0.7535, allocations: 253.2 kB / 0.8664 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.7708, allocations: 10.41 MB / 0.8765 GB, free: 8.109 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 preOpt removeSimpleEquations (simulation): time 0.06951/0.8403, allocations: 49.01 MB / 0.9244 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009572/0.8499, allocations: 6.277 MB / 0.9305 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006993/0.857, allocations: 4.927 MB / 0.9353 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.8582, allocations: 0.8186 MB / 0.9361 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005447/0.8637, allocations: 3.431 MB / 0.9395 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002697/0.8664, allocations: 479.9 kB / 0.94 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=449): time 1.175e-05/0.8665, allocations: 4 kB / 0.94 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=449): time 0.01438/0.8808, allocations: 8.943 MB / 0.9487 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/0.881, allocations: 154.3 kB / 0.9488 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/0.8958, allocations: 7.717 MB / 0.9564 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008812/0.8967, allocations: 117.7 kB / 0.9565 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.004593/0.9013, allocations: 4.426 MB / 0.9608 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/0.9034, allocations: 1.632 MB / 0.9624 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/0.9059, allocations: 1.14 MB / 0.9635 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.906, allocations: 308.9 kB / 0.9638 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004991/0.911, allocations: 3.046 MB / 0.9668 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006441/0.9175, allocations: 4.906 MB / 0.9716 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/0.9296, allocations: 8.604 MB / 0.98 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.804e-05/0.9296, allocations: 16 kB / 0.98 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01651/0.9462, allocations: 8.931 MB / 0.9887 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.9463, allocations: 99.38 kB / 0.9888 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.152e-05/0.9464, allocations: 56.88 kB / 0.9889 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.801e-05/0.9465, allocations: 92 kB / 0.989 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005453/0.952, allocations: 1.369 MB / 0.9903 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001669/0.9521, allocations: 123.6 kB / 0.9904 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006275/0.9584, allocations: 383.3 kB / 0.9908 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008892/0.9593, allocations: 283.9 kB / 0.991 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01055/0.9699, allocations: 6.163 MB / 0.9971 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00665/0.9766, allocations: 4.901 MB / 1.002 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01257/0.9892, allocations: 8.601 MB / 1.01 GB, free: 9.664 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.883e-05/0.9893, allocations: 16 kB / 1.01 GB, free: 9.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=754) (initialization_lambda0): time 0.01842/1.008, allocations: 8.936 MB / 1.019 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/1.008, allocations: 91.39 kB / 1.019 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.591e-05/1.008, allocations: 60 kB / 1.019 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-05/1.008, allocations: 88 kB / 1.019 GB, free: 452 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/1.014, allocations: 1.369 MB / 1.021 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001815/1.014, allocations: 131.5 kB / 1.021 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/1.021, allocations: 367.4 kB / 1.021 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.022, allocations: 280 kB / 1.021 GB, free: 14.31 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 (P.nextEventScaled,P.nextEvent,$PRE.P.nextEvent,P.last,P.b,P.a,TWat.nextEventScaled,TWat.nextEvent,$PRE.TWat.nextEvent,TWat.last,TWat.b,TWat.a,$whenCondition2,$whenCondition1,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001992/1.024, allocations: 0.6342 MB / 1.022 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002421/1.026, allocations: 0.757 MB / 1.023 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.039, allocations: 7.144 MB / 1.03 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008604/1.048, allocations: 5.848 MB / 1.035 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.048, allocations: 0 / 1.035 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004043/1.052, allocations: 1.644 MB / 1.037 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/1.054, allocations: 99.92 kB / 1.037 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004966/1.059, allocations: 283.7 kB / 1.037 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00061/1.06, allocations: 255.1 kB / 1.038 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01288/1.073, allocations: 7.069 MB / 1.044 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3247/1.397, allocations: 11.41 MB / 1.056 GB, free: 300.1 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005035/1.402, allocations: 3.21 MB / 1.059 GB, free: 298.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.009894/1.412, allocations: 5.423 MB / 1.064 GB, free: 297.1 MB / 0.8262 GB Notification: Performance of Backend: time 6.81e-07/1.412, allocations: 0 / 1.064 GB, free: 297.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01775/1.43, allocations: 9.577 MB / 1.073 GB, free: 293.8 MB / 0.8262 GB Notification: Performance of SimCode: time 0.03709/1.467, allocations: 21.36 MB / 1.094 GB, free: 285 MB / 0.8262 GB Notification: Performance of Templates: time 0.255/1.722, allocations: 184.6 MB / 1.275 GB, free: 109.6 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.Stratified.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.Stratified.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.Stratified.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.Stratified.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.Stratified.pipe 2>&1)