Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108.2 kB / 16.41 MB, free: 6.512 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.001425/0.001425, allocations: 187 kB / 17.34 MB, free: 5.742 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7967/0.7967, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 64.03 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1617, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.645/0.8066, allocations: 214.2 MB / 0.8695 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.8188, allocations: 7.019 MB / 0.8764 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.8211, allocations: 43.75 kB / 0.8764 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.8237, allocations: 0.7882 MB / 0.8772 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.8309, allocations: 2.513 MB / 0.8796 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.8343, allocations: 1.172 MB / 0.8808 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004406/0.8387, allocations: 2.821 MB / 0.8835 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.8408, allocations: 1.088 MB / 0.8846 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/0.8456, allocations: 2.008 MB / 0.8866 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.8481, allocations: 0.9342 MB / 0.8875 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.8486, allocations: 116 kB / 0.8876 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005056/0.8536, allocations: 2.444 MB / 0.89 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007351/0.8544, allocations: 434.7 kB / 0.8904 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.856, allocations: 0.6881 MB / 0.8911 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005987/0.862, allocations: 2.501 MB / 0.8935 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.862, allocations: 4 kB / 0.8935 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.862, allocations: 0 / 0.8935 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.685e-05/0.8621, allocations: 0 / 0.8935 GB, free: 7.02 MB / 0.6544 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.008553/0.8707, allocations: 1.836 MB / 0.8953 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.8708, allocations: 8.031 kB / 0.8953 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.876, allocations: 0.5409 MB / 0.8958 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.8797, allocations: 1.012 MB / 0.8968 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.8799, allocations: 66 kB / 0.8969 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/0.8804, allocations: 88 kB / 0.897 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/0.8855, allocations: 1.217 MB / 0.8982 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.8855, allocations: 0 / 0.8982 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.8858, allocations: 35.98 kB / 0.8982 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.824e-05/0.8859, allocations: 45.98 kB / 0.8982 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005887/0.8918, allocations: 1.534 MB / 0.8997 GB, free: 0.5273 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.01079/0.9026, allocations: 4.046 MB / 0.9037 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004062/0.9067, allocations: 0.967 MB / 0.9046 GB, free: 11.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.909, allocations: 0.6591 MB / 0.9053 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/0.9108, allocations: 0.6125 MB / 0.9059 GB, free: 9.848 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.9109, allocations: 51.22 kB / 0.9059 GB, free: 9.789 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 4.489e-06/0.9109, allocations: 0 / 0.9059 GB, free: 9.789 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.007425/0.9184, allocations: 1.773 MB / 0.9077 GB, free: 8.008 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.9185, allocations: 64.06 kB / 0.9077 GB, free: 7.934 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.9203, allocations: 0.8192 MB / 0.9085 GB, free: 7.09 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002714/0.9206, allocations: 49.64 kB / 0.9086 GB, free: 7.035 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.9212, allocations: 444.5 kB / 0.909 GB, free: 6.594 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.9215, allocations: 256.2 kB / 0.9092 GB, free: 6.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.9221, allocations: 154.5 kB / 0.9094 GB, free: 6.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002566/0.9224, allocations: 337.9 kB / 0.9097 GB, free: 5.844 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.9245, allocations: 0.5317 MB / 0.9102 GB, free: 5.309 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.9269, allocations: 0.6623 MB / 0.9109 GB, free: 4.613 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.9314, allocations: 1.123 MB / 0.912 GB, free: 3.465 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.9315, allocations: 11.94 kB / 0.912 GB, free: 3.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004623/0.9361, allocations: 1.341 MB / 0.9133 GB, free: 2.098 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.9362, allocations: 35.42 kB / 0.9133 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.9362, allocations: 4 kB / 0.9133 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.9362, allocations: 4 kB / 0.9133 GB, free: 2.051 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.9383, allocations: 257 kB / 0.9136 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.9394, allocations: 1.195 MB / 0.9147 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.9409, allocations: 143.4 kB / 0.9149 GB, free: 428 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.9411, allocations: 31.98 kB / 0.9149 GB, free: 396 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001905/0.943, allocations: 0.7556 MB / 0.9156 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001625/0.9446, allocations: 0.6559 MB / 0.9163 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003058/0.9477, allocations: 1.131 MB / 0.9174 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.636e-06/0.9477, allocations: 0 / 0.9174 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00369/0.9514, allocations: 1.329 MB / 0.9187 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.9515, allocations: 37.64 kB / 0.9187 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9515, allocations: 0 / 0.9187 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.9515, allocations: 4 kB / 0.9187 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.9528, allocations: 235.7 kB / 0.919 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.9528, allocations: 4.781 kB / 0.919 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.954, allocations: 131.4 kB / 0.9191 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.9541, allocations: 35.97 kB / 0.9191 GB, free: 12 MB / 0.6856 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.0003126/0.9544, allocations: 221.5 kB / 0.9193 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.9547, allocations: 110.6 kB / 0.9194 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.9583, allocations: 1.348 MB / 0.9207 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.9584, allocations: 8 kB / 0.9208 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.9584, allocations: 0 / 0.9208 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.9584, allocations: 7.922 kB / 0.9208 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.9644, allocations: 2.828 MB / 0.9235 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.9644, allocations: 4 kB / 0.9235 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.9657, allocations: 235.6 kB / 0.9238 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-05/0.9657, allocations: 7.938 kB / 0.9238 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/0.9658, allocations: 27.98 kB / 0.9238 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006988/0.9665, allocations: 1.192 MB / 0.925 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.9666, allocations: 4 kB / 0.925 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/0.97, allocations: 1.451 MB / 0.9264 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006316/0.9707, allocations: 307.5 kB / 0.9267 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.9709, allocations: 20 kB / 0.9267 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.9722, allocations: 115.8 kB / 0.9268 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.9724, allocations: 60.36 kB / 0.9269 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.9725, allocations: 35.98 kB / 0.9269 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00088/0.9734, allocations: 0.5739 MB / 0.9274 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9734, allocations: 0 / 0.9274 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001591/0.975, allocations: 0.5302 MB / 0.928 GB, free: 2.668 MB / 0.6856 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.0006663/0.9757, allocations: 270.2 kB / 0.9282 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005533/0.9812, allocations: 2.022 MB / 0.9302 GB, free: 376 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/0.9813, allocations: 4 kB / 0.9302 GB, free: 372 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.9831, allocations: 0.6598 MB / 0.9308 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.986, allocations: 0.4894 MB / 0.9313 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.9908, allocations: 2.124 MB / 0.9334 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/0.9917, allocations: 1.087 MB / 0.9345 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/0.9923, allocations: 107.4 kB / 0.9346 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of SimCode: time 6.61e-07/0.9923, allocations: 0 / 0.9346 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of Templates: time 0.03557/1.028, allocations: 26.84 MB / 0.9608 GB, free: 1.09 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)