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.006368/0.006368, allocations: 101 kB / 15.73 MB, free: 6.043 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.001318/0.001318, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9916/0.9916, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4355, allocations: 80.91 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7421/1.178, allocations: 214.2 MB / 0.8738 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01136/1.189, allocations: 7.031 MB / 0.8806 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/1.191, allocations: 42.97 kB / 0.8807 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/1.194, allocations: 0.8152 MB / 0.8815 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008/1.202, allocations: 2.61 MB / 0.884 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/1.206, allocations: 1.184 MB / 0.8852 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005754/1.212, allocations: 2.826 MB / 0.8879 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/1.214, allocations: 1.096 MB / 0.889 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005676/1.22, allocations: 2.047 MB / 0.891 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/1.223, allocations: 0.9441 MB / 0.8919 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006736/1.224, allocations: 117.9 kB / 0.892 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006596/1.231, allocations: 2.459 MB / 0.8944 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.232, allocations: 426.2 kB / 0.8949 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002679/1.234, allocations: 0.6876 MB / 0.8955 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00749/1.242, allocations: 2.502 MB / 0.898 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.242, allocations: 2.031 kB / 0.898 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.923e-06/1.242, allocations: 0 / 0.898 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.962e-05/1.242, allocations: 0.8438 kB / 0.898 GB, free: 1.328 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.007241/1.249, allocations: 1.842 MB / 0.8998 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.249, allocations: 10.97 kB / 0.8998 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/1.253, allocations: 0.5448 MB / 0.9003 GB, free: 16.35 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/1.255, allocations: 0.9952 MB / 0.9013 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.256, allocations: 69.91 kB / 0.9014 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/1.256, allocations: 83.38 kB / 0.9014 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/1.259, allocations: 1.229 MB / 0.9026 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/1.259, allocations: 4.531 kB / 0.9026 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/1.259, allocations: 31.44 kB / 0.9027 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/1.259, allocations: 48.83 kB / 0.9027 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/1.263, allocations: 1.524 MB / 0.9042 GB, free: 15.93 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.007135/1.27, allocations: 4.047 MB / 0.9082 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/1.272, allocations: 0.969 MB / 0.9091 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.274, allocations: 0.6558 MB / 0.9097 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/1.275, allocations: 0.6083 MB / 0.9103 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.275, allocations: 39.31 kB / 0.9104 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 4.529e-06/1.275, allocations: 0.875 kB / 0.9104 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.004242/1.279, allocations: 1.788 MB / 0.9121 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/1.279, allocations: 60.28 kB / 0.9122 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009381/1.28, allocations: 0.8218 MB / 0.913 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.633e-05/1.28, allocations: 41.23 kB / 0.913 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/1.28, allocations: 442.5 kB / 0.9134 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.281, allocations: 256.4 kB / 0.9137 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/1.281, allocations: 163 kB / 0.9138 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.281, allocations: 335 kB / 0.9142 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.282, allocations: 0.5332 MB / 0.9147 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/1.284, allocations: 0.6552 MB / 0.9153 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/1.286, allocations: 1.127 MB / 0.9164 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.286, allocations: 0 / 0.9164 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003668/1.29, allocations: 1.342 MB / 0.9177 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/1.29, allocations: 33.5 kB / 0.9178 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.29, allocations: 5.875 kB / 0.9178 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.29, allocations: 3.562 kB / 0.9178 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/1.292, allocations: 260.6 kB / 0.918 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008863/1.292, allocations: 1.193 MB / 0.9192 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.294, allocations: 146.6 kB / 0.9193 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/1.294, allocations: 35.7 kB / 0.9194 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001607/1.295, allocations: 0.7576 MB / 0.9201 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001306/1.297, allocations: 0.6543 MB / 0.9207 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002383/1.299, allocations: 1.118 MB / 0.9218 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/1.299, allocations: 3.938 kB / 0.9218 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.002897/1.302, allocations: 1.333 MB / 0.9231 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/1.302, allocations: 39.48 kB / 0.9232 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/1.302, allocations: 3.594 kB / 0.9232 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/1.302, allocations: 2.75 kB / 0.9232 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.303, allocations: 227.7 kB / 0.9234 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.303, allocations: 6.828 kB / 0.9234 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.304, allocations: 135.2 kB / 0.9235 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/1.304, allocations: 35.33 kB / 0.9236 GB, free: 10.64 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.0003199/1.305, allocations: 226 kB / 0.9238 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.305, allocations: 106.5 kB / 0.9239 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/1.308, allocations: 1.345 MB / 0.9252 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.308, allocations: 16.48 kB / 0.9252 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/1.308, allocations: 0 / 0.9252 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.308, allocations: 4.156 kB / 0.9252 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006649/1.315, allocations: 2.841 MB / 0.928 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.315, allocations: 11.89 kB / 0.928 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.316, allocations: 226.9 kB / 0.9282 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/1.316, allocations: 6.031 kB / 0.9282 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/1.316, allocations: 25.08 kB / 0.9282 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006387/1.317, allocations: 1.196 MB / 0.9294 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.317, allocations: 3.156 kB / 0.9294 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/1.32, allocations: 1.445 MB / 0.9308 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006779/1.321, allocations: 314 kB / 0.9311 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/1.321, allocations: 19.81 kB / 0.9311 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.322, allocations: 104 kB / 0.9312 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.322, allocations: 66.72 kB / 0.9313 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/1.322, allocations: 35.69 kB / 0.9313 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008618/1.323, allocations: 0.5663 MB / 0.9319 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.81e-07/1.323, allocations: 2.438 kB / 0.9319 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001746/1.325, allocations: 0.5336 MB / 0.9324 GB, free: 7.926 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.0006924/1.326, allocations: 270.8 kB / 0.9327 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004805/1.331, allocations: 2.03 MB / 0.9347 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.331, allocations: 2.844 kB / 0.9347 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.332, allocations: 0.6642 MB / 0.9353 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/1.334, allocations: 0.4906 MB / 0.9358 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/1.339, allocations: 2.056 MB / 0.9378 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/1.339, allocations: 1.097 MB / 0.9389 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001381/1.341, allocations: 386.2 kB / 0.9392 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/1.341, allocations: 91.78 kB / 0.9393 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of SimCode: time 1.552e-06/1.341, allocations: 0 / 0.9393 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of Templates: time 0.03506/1.376, allocations: 20.98 MB / 0.9598 GB, free: 5.977 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)