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.001132/0.001132, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9418/0.9418, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 9.062 kB / 0.5082 GB, free: 4.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1514, allocations: 82.32 MB / 0.5886 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5305/0.6819, allocations: 209.2 MB / 0.7929 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.6928, allocations: 7.05 MB / 0.7998 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.6946, allocations: 43.69 kB / 0.7998 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.6968, allocations: 0.645 MB / 0.8004 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007207/0.7041, allocations: 2.362 MB / 0.8027 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.7073, allocations: 1.054 MB / 0.8038 GB, free: 156 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005469/0.7128, allocations: 3.745 MB / 0.8074 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.7147, allocations: 0.9025 MB / 0.8083 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004606/0.7193, allocations: 1.759 MB / 0.81 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.7217, allocations: 0.9053 MB / 0.8109 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.7219, allocations: 48 kB / 0.811 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.7269, allocations: 2.802 MB / 0.8137 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.7275, allocations: 350.7 kB / 0.814 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.7285, allocations: 0.6195 MB / 0.8146 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.7312, allocations: 1.793 MB / 0.8164 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7312, allocations: 0 / 0.8164 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7313, allocations: 0 / 0.8164 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.7313, allocations: 4 kB / 0.8164 GB, free: 3.176 MB / 0.6231 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.004305/0.7356, allocations: 1.604 MB / 0.818 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7357, allocations: 12.03 kB / 0.818 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.7389, allocations: 0.58 MB / 0.8185 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.7409, allocations: 0.9641 MB / 0.8195 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006646/0.7415, allocations: 197.9 kB / 0.8197 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.7418, allocations: 87.98 kB / 0.8198 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.7447, allocations: 1.26 MB / 0.821 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.7447, allocations: 0 / 0.821 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.7448, allocations: 39.92 kB / 0.821 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/0.7449, allocations: 49.97 kB / 0.8211 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/0.7488, allocations: 1.624 MB / 0.8227 GB, free: 12.65 MB / 0.6387 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.006594/0.7554, allocations: 4.091 MB / 0.8267 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.758, allocations: 1.056 MB / 0.8277 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.7596, allocations: 0.6982 MB / 0.8284 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.7607, allocations: 0.6321 MB / 0.829 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.7608, allocations: 39.22 kB / 0.829 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.756e-06/0.7608, allocations: 0 / 0.829 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005136/0.7659, allocations: 1.918 MB / 0.8309 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.766, allocations: 68.05 kB / 0.831 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.7673, allocations: 0.8154 MB / 0.8318 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.7674, allocations: 41.7 kB / 0.8318 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.7678, allocations: 448.5 kB / 0.8322 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.7681, allocations: 260.2 kB / 0.8325 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.7682, allocations: 61.69 kB / 0.8325 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7683, allocations: 337.9 kB / 0.8328 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.7699, allocations: 0.568 MB / 0.8334 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.7715, allocations: 0.6988 MB / 0.8341 GB, free: 452 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.7744, allocations: 1.221 MB / 0.8353 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7744, allocations: 0 / 0.8353 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003563/0.778, allocations: 1.431 MB / 0.8367 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.7781, allocations: 163.1 kB / 0.8368 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7781, allocations: 0 / 0.8368 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.7782, allocations: 4 kB / 0.8368 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.7797, allocations: 287.8 kB / 0.8371 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.7805, allocations: 1.188 MB / 0.8383 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7818, allocations: 195.3 kB / 0.8385 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.7819, allocations: 39.97 kB / 0.8385 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.782, allocations: 7.938 kB / 0.8385 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003264/0.7852, allocations: 1.321 MB / 0.8398 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7853, allocations: 3.938 kB / 0.8398 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.7853, allocations: 4 kB / 0.8398 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7865, allocations: 251.8 kB / 0.84 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.7865, allocations: 4 kB / 0.84 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.7879, allocations: 199.1 kB / 0.8402 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.998e-05/0.788, allocations: 35.97 kB / 0.8403 GB, free: 10 MB / 0.6544 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.0006207/0.7886, allocations: 373 kB / 0.8406 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.7888, allocations: 102.7 kB / 0.8407 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.7924, allocations: 1.445 MB / 0.8421 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.7924, allocations: 8 kB / 0.8421 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7924, allocations: 0 / 0.8421 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.7924, allocations: 7.984 kB / 0.8421 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006316/0.7988, allocations: 2.921 MB / 0.845 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.7988, allocations: 4 kB / 0.845 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.8001, allocations: 248.8 kB / 0.8452 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/0.8002, allocations: 11.94 kB / 0.8453 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/0.8002, allocations: 23.98 kB / 0.8453 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006587/0.8009, allocations: 1.195 MB / 0.8464 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.8009, allocations: 11.88 kB / 0.8465 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/0.8044, allocations: 1.533 MB / 0.848 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.805, allocations: 323.4 kB / 0.8483 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.8051, allocations: 12 kB / 0.8483 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.8064, allocations: 167.8 kB / 0.8484 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.8065, allocations: 56.44 kB / 0.8485 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.8066, allocations: 35.97 kB / 0.8485 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007486/0.8074, allocations: 0.57 MB / 0.8491 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8074, allocations: 3.938 kB / 0.8491 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001302/0.8087, allocations: 0.5263 MB / 0.8496 GB, free: 192 kB / 0.6544 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.0005911/0.8093, allocations: 281.2 kB / 0.8499 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005475/0.8148, allocations: 2.147 MB / 0.852 GB, free: 13.76 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8148, allocations: 0 / 0.852 GB, free: 13.76 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.8167, allocations: 0.7144 MB / 0.8527 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/0.8205, allocations: 0.5018 MB / 0.8531 GB, free: 12.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.8265, allocations: 2.619 MB / 0.8557 GB, free: 9.855 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.8276, allocations: 1.091 MB / 0.8568 GB, free: 8.738 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/0.8283, allocations: 99.39 kB / 0.8569 GB, free: 8.641 MB / 0.67 GB Notification: Performance of SimCode: time 3.878e-06/0.8283, allocations: 0 / 0.8569 GB, free: 8.641 MB / 0.67 GB Notification: Performance of Templates: time 0.3357/1.164, allocations: 26.71 MB / 0.8829 GB, free: 212.4 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)