Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0075/0.0075, allocations: 101.6 kB / 15.73 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.001651/0.001651, allocations: 195.6 kB / 16.67 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9759/0.9759, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.89 kB / 0.5856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4489, allocations: 80.91 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6916/1.14, allocations: 214.2 MB / 0.8738 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01249/1.153, allocations: 7.041 MB / 0.8807 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/1.155, allocations: 41.66 kB / 0.8807 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/1.158, allocations: 0.8078 MB / 0.8815 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007434/1.165, allocations: 2.608 MB / 0.884 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/1.169, allocations: 1.189 MB / 0.8852 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005594/1.174, allocations: 2.82 MB / 0.8879 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/1.176, allocations: 1.093 MB / 0.889 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/1.181, allocations: 2.049 MB / 0.891 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/1.184, allocations: 0.9456 MB / 0.8919 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003388/1.184, allocations: 117.5 kB / 0.892 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005634/1.19, allocations: 2.462 MB / 0.8944 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000708/1.191, allocations: 427.2 kB / 0.8949 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001459/1.192, allocations: 0.6869 MB / 0.8955 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005476/1.198, allocations: 2.503 MB / 0.898 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.198, allocations: 0.6875 kB / 0.898 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.923e-06/1.198, allocations: 1.094 kB / 0.898 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.008e-05/1.198, allocations: 0.7188 kB / 0.898 GB, free: 1.312 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005685/1.204, allocations: 1.844 MB / 0.8998 GB, free: 16.4 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.204, allocations: 10.81 kB / 0.8998 GB, free: 16.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/1.207, allocations: 0.534 MB / 0.9003 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/1.209, allocations: 1.005 MB / 0.9013 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/1.209, allocations: 69.69 kB / 0.9014 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/1.21, allocations: 83.98 kB / 0.9014 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/1.213, allocations: 1.228 MB / 0.9026 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.213, allocations: 0 / 0.9026 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.213, allocations: 33.2 kB / 0.9027 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-05/1.213, allocations: 50.95 kB / 0.9027 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/1.217, allocations: 1.525 MB / 0.9042 GB, free: 15.91 MB / 0.7012 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.00711/1.224, allocations: 4.044 MB / 0.9082 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/1.226, allocations: 0.9775 MB / 0.9091 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/1.228, allocations: 0.6507 MB / 0.9097 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/1.229, allocations: 0.6065 MB / 0.9103 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.229, allocations: 41.62 kB / 0.9104 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 3.817e-06/1.229, allocations: 0 / 0.9104 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.004784/1.234, allocations: 1.782 MB / 0.9121 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.234, allocations: 60.28 kB / 0.9122 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.235, allocations: 0.8232 MB / 0.913 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/1.235, allocations: 40.8 kB / 0.913 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/1.235, allocations: 444.5 kB / 0.9134 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/1.235, allocations: 257.6 kB / 0.9137 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.236, allocations: 158.6 kB / 0.9138 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.236, allocations: 337.7 kB / 0.9142 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/1.237, allocations: 0.5334 MB / 0.9147 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/1.239, allocations: 0.6505 MB / 0.9153 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/1.241, allocations: 1.135 MB / 0.9164 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.241, allocations: 5.359 kB / 0.9164 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003538/1.245, allocations: 1.341 MB / 0.9177 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/1.245, allocations: 35.41 kB / 0.9178 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.245, allocations: 6.5 kB / 0.9178 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.245, allocations: 2.594 kB / 0.9178 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.246, allocations: 254.1 kB / 0.918 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000809/1.247, allocations: 1.198 MB / 0.9192 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.249, allocations: 139.1 kB / 0.9193 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/1.249, allocations: 35.33 kB / 0.9194 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001904/1.251, allocations: 0.7597 MB / 0.9201 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001504/1.252, allocations: 0.6477 MB / 0.9207 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002709/1.255, allocations: 1.126 MB / 0.9218 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/1.255, allocations: 3.938 kB / 0.9218 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003373/1.258, allocations: 1.34 MB / 0.9231 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/1.259, allocations: 31.97 kB / 0.9232 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.259, allocations: 3.266 kB / 0.9232 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.259, allocations: 10.25 kB / 0.9232 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.26, allocations: 227.6 kB / 0.9234 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/1.26, allocations: 3.594 kB / 0.9234 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.261, allocations: 134.5 kB / 0.9235 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.261, allocations: 37.59 kB / 0.9236 GB, free: 10.62 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004108/1.262, allocations: 225 kB / 0.9238 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003915/1.262, allocations: 109 kB / 0.9239 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/1.266, allocations: 1.342 MB / 0.9252 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/1.266, allocations: 6.188 kB / 0.9252 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.266, allocations: 8.016 kB / 0.9252 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.266, allocations: 3.562 kB / 0.9252 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006139/1.272, allocations: 2.837 MB / 0.928 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.272, allocations: 2.781 kB / 0.928 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.273, allocations: 233.5 kB / 0.9282 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.879e-05/1.273, allocations: 6.875 kB / 0.9282 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.769e-05/1.273, allocations: 23.94 kB / 0.9282 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000727/1.274, allocations: 1.193 MB / 0.9294 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.274, allocations: 7.531 kB / 0.9294 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/1.278, allocations: 1.447 MB / 0.9308 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008954/1.279, allocations: 312.9 kB / 0.9311 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/1.279, allocations: 18.31 kB / 0.9311 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.281, allocations: 102.9 kB / 0.9312 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.281, allocations: 72.78 kB / 0.9313 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.281, allocations: 35.48 kB / 0.9313 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001303/1.282, allocations: 0.571 MB / 0.9319 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.6e-07/1.282, allocations: 2.656 kB / 0.9319 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002968/1.285, allocations: 0.5333 MB / 0.9324 GB, free: 7.902 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/1.286, allocations: 267.6 kB / 0.9327 GB, free: 7.777 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005946/1.292, allocations: 2.02 MB / 0.9347 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/1.292, allocations: 3.562 kB / 0.9347 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/1.294, allocations: 0.6587 MB / 0.9353 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.298, allocations: 499.8 kB / 0.9358 GB, free: 7.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006476/1.304, allocations: 2.069 MB / 0.9378 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/1.306, allocations: 1.09 MB / 0.9389 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002206/1.308, allocations: 396.3 kB / 0.9392 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/1.309, allocations: 88.39 kB / 0.9393 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of SimCode: time 8.62e-07/1.309, allocations: 0 / 0.9393 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of Templates: time 0.03732/1.346, allocations: 20.97 MB / 0.9598 GB, free: 5.992 MB / 0.7169 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)