Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001648/0.001648, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8358/0.8358, allocations: 132.2 MB / 423.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 56.14 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4365, allocations: 80.18 MB / 0.5807 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.6726/1.109, allocations: 214.2 MB / 0.7899 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01041/1.12, allocations: 7.027 MB / 0.7968 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/1.122, allocations: 41.88 kB / 0.7968 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/1.124, allocations: 0.787 MB / 0.7976 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006599/1.13, allocations: 2.501 MB / 0.8 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/1.133, allocations: 1.17 MB / 0.8012 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004056/1.138, allocations: 2.807 MB / 0.8039 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/1.139, allocations: 1.091 MB / 0.805 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005382/1.145, allocations: 1.978 MB / 0.8069 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/1.147, allocations: 0.9405 MB / 0.8078 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002418/1.147, allocations: 117.5 kB / 0.8079 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/1.153, allocations: 2.444 MB / 0.8103 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006058/1.154, allocations: 427.4 kB / 0.8107 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/1.155, allocations: 0.6841 MB / 0.8114 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004926/1.16, allocations: 2.48 MB / 0.8138 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.16, allocations: 0 / 0.8138 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/1.16, allocations: 0.8125 kB / 0.8138 GB, free: 464 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.156e-05/1.16, allocations: 0 / 0.8138 GB, free: 464 kB / 0.5762 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.004742/1.164, allocations: 1.848 MB / 0.8156 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.164, allocations: 11.12 kB / 0.8156 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/1.168, allocations: 0.5338 MB / 0.8162 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/1.169, allocations: 0.957 MB / 0.8171 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006213/1.17, allocations: 183.9 kB / 0.8173 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.17, allocations: 83.06 kB / 0.8174 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/1.173, allocations: 1.229 MB / 0.8186 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/1.173, allocations: 0.8125 kB / 0.8186 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.173, allocations: 36.75 kB / 0.8186 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/1.173, allocations: 44.34 kB / 0.8186 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/1.176, allocations: 1.545 MB / 0.8201 GB, free: 15.04 MB / 0.5919 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.0063/1.183, allocations: 4.076 MB / 0.8241 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/1.185, allocations: 0.9977 MB / 0.8251 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/1.187, allocations: 0.6723 MB / 0.8258 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.188, allocations: 0.6082 MB / 0.8263 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.188, allocations: 43.19 kB / 0.8264 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.395e-06/1.188, allocations: 0 / 0.8264 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.005119/1.193, allocations: 1.816 MB / 0.8282 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.193, allocations: 60.03 kB / 0.8282 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.194, allocations: 0.8183 MB / 0.829 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.194, allocations: 40.67 kB / 0.8291 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/1.195, allocations: 444.3 kB / 0.8295 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/1.195, allocations: 265.8 kB / 0.8297 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/1.195, allocations: 153.6 kB / 0.8299 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.195, allocations: 337.9 kB / 0.8302 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/1.197, allocations: 0.5382 MB / 0.8307 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.199, allocations: 0.6678 MB / 0.8314 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/1.202, allocations: 1.146 MB / 0.8325 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.202, allocations: 4 kB / 0.8325 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003669/1.205, allocations: 1.368 MB / 0.8338 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/1.205, allocations: 33.89 kB / 0.8339 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.205, allocations: 0 / 0.8339 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/1.205, allocations: 5.312 kB / 0.8339 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.207, allocations: 261.7 kB / 0.8341 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007761/1.208, allocations: 1.194 MB / 0.8353 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.209, allocations: 143.8 kB / 0.8354 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/1.209, allocations: 45.19 kB / 0.8355 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001919/1.211, allocations: 0.7636 MB / 0.8362 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001645/1.213, allocations: 0.6569 MB / 0.8369 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003025/1.216, allocations: 1.15 MB / 0.838 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/1.216, allocations: 0 / 0.838 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003739/1.219, allocations: 1.351 MB / 0.8393 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.22, allocations: 40.19 kB / 0.8393 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.22, allocations: 4 kB / 0.8393 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/1.22, allocations: 7.938 kB / 0.8394 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.221, allocations: 233.2 kB / 0.8396 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.221, allocations: 4 kB / 0.8396 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.222, allocations: 135.4 kB / 0.8397 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/1.222, allocations: 35.97 kB / 0.8397 GB, free: 2.211 MB / 0.5919 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.0003267/1.223, allocations: 225.6 kB / 0.84 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.223, allocations: 110.6 kB / 0.8401 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/1.227, allocations: 1.362 MB / 0.8414 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/1.227, allocations: 8 kB / 0.8414 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.227, allocations: 3.938 kB / 0.8414 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.227, allocations: 3.984 kB / 0.8414 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00602/1.233, allocations: 2.865 MB / 0.8442 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.233, allocations: 4 kB / 0.8442 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.234, allocations: 233.7 kB / 0.8444 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.234, allocations: 4 kB / 0.8444 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/1.234, allocations: 28.02 kB / 0.8445 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006178/1.235, allocations: 1.198 MB / 0.8456 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.235, allocations: 7.938 kB / 0.8456 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/1.238, allocations: 1.469 MB / 0.8471 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/1.239, allocations: 311.4 kB / 0.8474 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.239, allocations: 16 kB / 0.8474 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.24, allocations: 115.9 kB / 0.8475 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.24, allocations: 59.52 kB / 0.8476 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/1.24, allocations: 35.98 kB / 0.8476 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007672/1.241, allocations: 0.5661 MB / 0.8481 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.241, allocations: 0 / 0.8481 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001385/1.242, allocations: 0.538 MB / 0.8487 GB, free: 8.891 MB / 0.6075 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.0006529/1.243, allocations: 275.1 kB / 0.8489 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005906/1.249, allocations: 2.146 MB / 0.851 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.249, allocations: 0 / 0.851 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/1.251, allocations: 0.6815 MB / 0.8517 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.253, allocations: 0.4892 MB / 0.8522 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/1.258, allocations: 2.17 MB / 0.8543 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/1.259, allocations: 1.091 MB / 0.8554 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/1.259, allocations: 103.4 kB / 0.8555 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of SimCode: time 1.704e-06/1.259, allocations: 0 / 0.8555 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of Templates: time 0.04545/1.305, allocations: 26.75 MB / 0.8816 GB, free: 7.344 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)