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.001112/0.001112, allocations: 84.38 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.00126/0.00126, 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.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9673/0.9673, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8 kB / 0.507 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1866, allocations: 82.3 MB / 0.5874 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6261/0.8128, allocations: 195.1 MB / 0.7779 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.8251, allocations: 6.632 MB / 0.7844 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.827, allocations: 35.75 kB / 0.7844 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.8292, allocations: 0.5044 MB / 0.7849 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006558/0.8358, allocations: 1.777 MB / 0.7867 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003104/0.8389, allocations: 0.9074 MB / 0.7875 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004777/0.8437, allocations: 3.19 MB / 0.7907 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.8455, allocations: 0.7932 MB / 0.7914 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.85, allocations: 1.529 MB / 0.7929 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.8519, allocations: 0.8637 MB / 0.7938 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.8522, allocations: 48 kB / 0.7938 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.8562, allocations: 1.528 MB / 0.7953 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005719/0.8568, allocations: 346.7 kB / 0.7956 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.8574, allocations: 273.1 kB / 0.7959 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.8604, allocations: 1.711 MB / 0.7976 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8604, allocations: 0 / 0.7976 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8604, allocations: 4 kB / 0.7976 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.826e-05/0.8605, allocations: 0 / 0.7976 GB, free: 5.727 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004324/0.8648, allocations: 1.612 MB / 0.7991 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.8649, allocations: 8.031 kB / 0.7992 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.868, allocations: 0.5916 MB / 0.7997 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.8699, allocations: 0.9297 MB / 0.8006 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006097/0.8705, allocations: 194.8 kB / 0.8008 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.8707, allocations: 87.98 kB / 0.8009 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.8733, allocations: 1.26 MB / 0.8021 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.8733, allocations: 0 / 0.8021 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/0.8735, allocations: 32 kB / 0.8022 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/0.8735, allocations: 53.94 kB / 0.8022 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/0.8771, allocations: 1.612 MB / 0.8038 GB, free: 15.24 MB / 0.6231 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.00666/0.8838, allocations: 4.097 MB / 0.8078 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.8862, allocations: 1.044 MB / 0.8088 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.8878, allocations: 0.6943 MB / 0.8095 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.8889, allocations: 0.636 MB / 0.8101 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.8889, allocations: 43.22 kB / 0.8102 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.906e-06/0.8889, allocations: 0 / 0.8102 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.004965/0.8939, allocations: 1.914 MB / 0.812 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.894, allocations: 64.06 kB / 0.8121 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.8951, allocations: 0.8153 MB / 0.8129 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.8952, allocations: 41.7 kB / 0.8129 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.8956, allocations: 440.6 kB / 0.8133 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.8959, allocations: 256.2 kB / 0.8136 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.8959, allocations: 16 kB / 0.8136 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8961, allocations: 341.9 kB / 0.8139 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.8975, allocations: 0.5602 MB / 0.8145 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.899, allocations: 0.6926 MB / 0.8152 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.9005, allocations: 0.6177 MB / 0.8158 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.9005, allocations: 0 / 0.8158 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003377/0.9039, allocations: 1.427 MB / 0.8172 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.904, allocations: 156.8 kB / 0.8173 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.904, allocations: 0 / 0.8173 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.904, allocations: 4 kB / 0.8173 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.9055, allocations: 277.7 kB / 0.8176 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007645/0.9063, allocations: 1.195 MB / 0.8187 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.9076, allocations: 195.3 kB / 0.8189 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.9077, allocations: 35.98 kB / 0.819 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.9077, allocations: 7.938 kB / 0.819 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00311/0.9108, allocations: 1.325 MB / 0.8203 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9109, allocations: 0.7031 kB / 0.8203 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.9109, allocations: 11.44 kB / 0.8203 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.9121, allocations: 259.6 kB / 0.8205 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.9121, allocations: 4 kB / 0.8205 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.9133, allocations: 195.1 kB / 0.8207 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.9134, allocations: 31.98 kB / 0.8207 GB, free: 13.31 MB / 0.6387 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.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006533/0.9141, allocations: 368.9 kB / 0.8211 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.9143, allocations: 106.7 kB / 0.8212 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.9177, allocations: 1.438 MB / 0.8226 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.9178, allocations: 7.953 kB / 0.8226 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9178, allocations: 4 kB / 0.8226 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.9178, allocations: 3.984 kB / 0.8226 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/0.9234, allocations: 2.918 MB / 0.8255 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.9234, allocations: 4.469 kB / 0.8255 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.9246, allocations: 252.6 kB / 0.8257 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.9247, allocations: 12 kB / 0.8257 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.9247, allocations: 23.94 kB / 0.8257 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006869/0.9254, allocations: 1.192 MB / 0.8269 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.9254, allocations: 15.94 kB / 0.8269 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/0.9287, allocations: 1.533 MB / 0.8284 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005546/0.9293, allocations: 311.5 kB / 0.8287 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.9294, allocations: 16 kB / 0.8287 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.9306, allocations: 167.8 kB / 0.8289 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.9308, allocations: 64.38 kB / 0.829 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.9308, allocations: 27.98 kB / 0.829 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008471/0.9317, allocations: 0.5622 MB / 0.8295 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9317, allocations: 4 kB / 0.8295 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001385/0.9331, allocations: 0.5341 MB / 0.8301 GB, free: 3.504 MB / 0.6387 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005826/0.9337, allocations: 275.3 kB / 0.8303 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005045/0.9387, allocations: 2.147 MB / 0.8324 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9388, allocations: 0 / 0.8324 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.9404, allocations: 0.7028 MB / 0.8331 GB, free: 396 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.9429, allocations: 0.5124 MB / 0.8336 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.9472, allocations: 2.491 MB / 0.836 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/0.9479, allocations: 1.091 MB / 0.8371 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001592/0.9495, allocations: 387.5 kB / 0.8375 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.9498, allocations: 87.39 kB / 0.8375 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of SimCode: time 6.62e-07/0.9498, allocations: 0 / 0.8375 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.03183/0.9817, allocations: 19.43 MB / 0.8565 GB, free: 8.57 MB / 0.67 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)