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.001171/0.001171, allocations: 88.14 kB / 16.66 MB, free: 5.742 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.001257/0.001257, allocations: 181.2 kB / 17.58 MB, free: 5.477 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.396/1.396, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7125/0.7125, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 11.98 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4263, allocations: 77.52 MB / 0.5606 GB, free: 36.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.6898/1.116, allocations: 209.2 MB / 0.7649 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01203/1.128, allocations: 7.068 MB / 0.7718 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/1.13, allocations: 37.38 kB / 0.7718 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/1.133, allocations: 0.6548 MB / 0.7724 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007896/1.141, allocations: 2.361 MB / 0.7747 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/1.144, allocations: 1.059 MB / 0.7758 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006089/1.15, allocations: 3.752 MB / 0.7794 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/1.152, allocations: 0.8979 MB / 0.7803 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005357/1.158, allocations: 1.767 MB / 0.782 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/1.161, allocations: 0.9049 MB / 0.7829 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002864/1.161, allocations: 46.56 kB / 0.783 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006836/1.168, allocations: 2.799 MB / 0.7857 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008501/1.169, allocations: 349.4 kB / 0.786 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/1.171, allocations: 0.6245 MB / 0.7866 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004157/1.175, allocations: 1.795 MB / 0.7884 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.175, allocations: 0 / 0.7884 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.384e-06/1.175, allocations: 4 kB / 0.7884 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.899e-05/1.175, allocations: 0 / 0.7884 GB, free: 17.42 MB / 0.5919 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.004619/1.179, allocations: 1.599 MB / 0.79 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.179, allocations: 12.03 kB / 0.79 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/1.183, allocations: 0.5824 MB / 0.7905 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/1.185, allocations: 0.9642 MB / 0.7915 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006574/1.186, allocations: 194.7 kB / 0.7917 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/1.186, allocations: 86.81 kB / 0.7917 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/1.189, allocations: 1.274 MB / 0.793 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.189, allocations: 0 / 0.793 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.189, allocations: 35.94 kB / 0.793 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/1.189, allocations: 43.84 kB / 0.7931 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/1.192, allocations: 1.615 MB / 0.7946 GB, free: 15.96 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.006929/1.199, allocations: 4.093 MB / 0.7986 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/1.202, allocations: 1.053 MB / 0.7997 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/1.203, allocations: 0.6973 MB / 0.8004 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.205, allocations: 0.6364 MB / 0.801 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.205, allocations: 46.7 kB / 0.801 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/1.205, allocations: 3.938 kB / 0.801 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.005108/1.21, allocations: 1.926 MB / 0.8029 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/1.21, allocations: 61.34 kB / 0.803 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.211, allocations: 0.8217 MB / 0.8038 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/1.211, allocations: 43.27 kB / 0.8038 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/1.211, allocations: 444.2 kB / 0.8042 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/1.212, allocations: 264.1 kB / 0.8045 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.212, allocations: 56.56 kB / 0.8045 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.212, allocations: 330.6 kB / 0.8049 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/1.214, allocations: 0.5648 MB / 0.8054 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/1.215, allocations: 0.6884 MB / 0.8061 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/1.218, allocations: 1.208 MB / 0.8073 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.218, allocations: 0 / 0.8073 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003604/1.222, allocations: 1.411 MB / 0.8086 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.222, allocations: 152.8 kB / 0.8088 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.222, allocations: 3.984 kB / 0.8088 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.222, allocations: 5.125 kB / 0.8088 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.224, allocations: 276.3 kB / 0.8091 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008223/1.224, allocations: 1.197 MB / 0.8102 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.226, allocations: 193.8 kB / 0.8104 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/1.226, allocations: 34.84 kB / 0.8104 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/1.226, allocations: 4.938 kB / 0.8104 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003213/1.229, allocations: 1.306 MB / 0.8117 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.229, allocations: 1.75 kB / 0.8117 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/1.229, allocations: 7.172 kB / 0.8117 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.231, allocations: 246.7 kB / 0.812 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.231, allocations: 5.469 kB / 0.812 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.232, allocations: 198.1 kB / 0.8122 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/1.232, allocations: 28.64 kB / 0.8122 GB, free: 9.711 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.0007524/1.233, allocations: 381.2 kB / 0.8125 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.233, allocations: 101.3 kB / 0.8126 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/1.237, allocations: 1.437 MB / 0.814 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.237, allocations: 7.125 kB / 0.8141 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.237, allocations: 4 kB / 0.8141 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.237, allocations: 8.875 kB / 0.8141 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006035/1.243, allocations: 2.93 MB / 0.8169 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.243, allocations: 7.562 kB / 0.8169 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.244, allocations: 249.7 kB / 0.8172 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.244, allocations: 8.281 kB / 0.8172 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/1.244, allocations: 20.86 kB / 0.8172 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007164/1.245, allocations: 1.204 MB / 0.8184 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.245, allocations: 2.219 kB / 0.8184 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/1.249, allocations: 1.543 MB / 0.8199 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007193/1.249, allocations: 312 kB / 0.8202 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/1.25, allocations: 14.47 kB / 0.8202 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.251, allocations: 173.8 kB / 0.8204 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/1.251, allocations: 58.08 kB / 0.8204 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/1.251, allocations: 32.48 kB / 0.8204 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009511/1.252, allocations: 0.5741 MB / 0.821 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.163e-06/1.252, allocations: 0 / 0.821 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001798/1.254, allocations: 0.5361 MB / 0.8215 GB, free: 5.641 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.0007152/1.255, allocations: 270.5 kB / 0.8218 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005605/1.26, allocations: 2.133 MB / 0.8239 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.26, allocations: 0 / 0.8239 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.262, allocations: 0.7135 MB / 0.8246 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.266, allocations: 0.5109 MB / 0.8251 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/1.271, allocations: 2.621 MB / 0.8276 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/1.272, allocations: 1.091 MB / 0.8287 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/1.273, allocations: 99.08 kB / 0.8288 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/1.273, allocations: 0 / 0.8288 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of Templates: time 0.03999/1.313, allocations: 26.78 MB / 0.8549 GB, free: 8.734 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)