Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001297/0.001298, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.001285/0.001285, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7474/0.7474, allocations: 115.3 MB / 406.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 493.6 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4212, allocations: 76.17 MB / 0.5564 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.6434/1.065, allocations: 212 MB / 0.7634 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01161/1.076, allocations: 7.143 MB / 0.7704 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/1.079, allocations: 39.81 kB / 0.7704 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/1.081, allocations: 0.6597 MB / 0.7711 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007555/1.089, allocations: 2.37 MB / 0.7734 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003534/1.092, allocations: 1.048 MB / 0.7744 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005747/1.098, allocations: 3.755 MB / 0.7781 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/1.1, allocations: 0.9294 MB / 0.779 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/1.105, allocations: 1.787 MB / 0.7807 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/1.108, allocations: 0.9502 MB / 0.7817 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002584/1.108, allocations: 59.41 kB / 0.7817 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006637/1.115, allocations: 2.816 MB / 0.7845 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005844/1.116, allocations: 375.9 kB / 0.7848 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/1.117, allocations: 0.6292 MB / 0.7854 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/1.12, allocations: 1.819 MB / 0.7872 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.12, allocations: 2.906 kB / 0.7872 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/1.12, allocations: 1.422 kB / 0.7872 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.12, allocations: 0 / 0.7872 GB, free: 1.176 MB / 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.004715/1.125, allocations: 1.842 MB / 0.789 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.125, allocations: 11.45 kB / 0.789 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/1.128, allocations: 0.542 MB / 0.7896 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/1.129, allocations: 0.9579 MB / 0.7905 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005847/1.13, allocations: 179.3 kB / 0.7907 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.13, allocations: 85.98 kB / 0.7907 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/1.133, allocations: 1.236 MB / 0.792 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.133, allocations: 3.375 kB / 0.792 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.133, allocations: 26.03 kB / 0.792 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/1.133, allocations: 50.73 kB / 0.792 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/1.137, allocations: 1.541 MB / 0.7935 GB, free: 15.7 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.006654/1.143, allocations: 4.057 MB / 0.7975 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/1.146, allocations: 1.005 MB / 0.7985 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/1.147, allocations: 0.6618 MB / 0.7991 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/1.148, allocations: 0.6092 MB / 0.7997 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/1.149, allocations: 42.78 kB / 0.7998 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/1.149, allocations: 1.094 kB / 0.7998 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004716/1.153, allocations: 1.815 MB / 0.8015 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/1.153, allocations: 61.91 kB / 0.8016 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.154, allocations: 0.8224 MB / 0.8024 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.154, allocations: 43.27 kB / 0.8024 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/1.155, allocations: 444.3 kB / 0.8029 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/1.155, allocations: 262.7 kB / 0.8031 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/1.155, allocations: 152.1 kB / 0.8033 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.156, allocations: 331.4 kB / 0.8036 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.157, allocations: 0.5335 MB / 0.8041 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/1.159, allocations: 0.6629 MB / 0.8047 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/1.161, allocations: 1.133 MB / 0.8058 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.161, allocations: 0 / 0.8058 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003218/1.164, allocations: 1.344 MB / 0.8072 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/1.165, allocations: 37.73 kB / 0.8072 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.165, allocations: 1.203 kB / 0.8072 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.165, allocations: 8.906 kB / 0.8072 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.166, allocations: 256.2 kB / 0.8074 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007783/1.167, allocations: 1.192 MB / 0.8086 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.168, allocations: 184.4 kB / 0.8088 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/1.168, allocations: 36.92 kB / 0.8088 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001854/1.17, allocations: 0.7604 MB / 0.8096 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001498/1.172, allocations: 0.6491 MB / 0.8102 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002613/1.174, allocations: 1.13 MB / 0.8113 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/1.174, allocations: 0 / 0.8113 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003207/1.178, allocations: 1.334 MB / 0.8126 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.178, allocations: 33.89 kB / 0.8126 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.178, allocations: 0 / 0.8126 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/1.178, allocations: 5.188 kB / 0.8126 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.179, allocations: 233.8 kB / 0.8129 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.179, allocations: 2.531 kB / 0.8129 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.18, allocations: 158.7 kB / 0.813 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/1.18, allocations: 38.31 kB / 0.8131 GB, free: 9.336 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 80 * 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.0003561/1.181, allocations: 223.3 kB / 0.8133 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/1.181, allocations: 104.8 kB / 0.8134 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/1.184, allocations: 1.369 MB / 0.8147 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.184, allocations: 5.688 kB / 0.8147 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/1.184, allocations: 5.125 kB / 0.8147 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.184, allocations: 3.984 kB / 0.8147 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/1.19, allocations: 2.859 MB / 0.8175 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.19, allocations: 7.109 kB / 0.8175 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.191, allocations: 229.6 kB / 0.8177 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.191, allocations: 5.344 kB / 0.8177 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/1.191, allocations: 28.59 kB / 0.8178 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006311/1.191, allocations: 1.189 MB / 0.8189 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.192, allocations: 8.062 kB / 0.8189 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/1.195, allocations: 1.466 MB / 0.8204 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/1.195, allocations: 309.2 kB / 0.8207 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/1.195, allocations: 16.47 kB / 0.8207 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.197, allocations: 151 kB / 0.8208 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.197, allocations: 66.42 kB / 0.8209 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/1.197, allocations: 36.69 kB / 0.8209 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007362/1.198, allocations: 0.5705 MB / 0.8215 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.198, allocations: 0 / 0.8215 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001464/1.199, allocations: 0.5325 MB / 0.822 GB, free: 5.32 MB / 0.5919 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.0006138/1.2, allocations: 285.6 kB / 0.8223 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005058/1.205, allocations: 2.023 MB / 0.8242 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.205, allocations: 0 / 0.8242 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.206, allocations: 0.6744 MB / 0.8249 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.209, allocations: 0.5118 MB / 0.8254 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/1.214, allocations: 2.564 MB / 0.8279 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/1.215, allocations: 1.091 MB / 0.829 GB, free: 128 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/1.215, allocations: 95.52 kB / 0.8291 GB, free: 36 kB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/1.215, allocations: 4 kB / 0.8291 GB, free: 32 kB / 0.5919 GB Notification: Performance of Templates: time 0.03565/1.251, allocations: 26.93 MB / 0.8554 GB, free: 5.477 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)