Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00164/0.00164, allocations: 113.9 kB / 16.42 MB, free: 6.496 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.001908/0.001908, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 292.6 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9473/0.9473, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4099, allocations: 86.99 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.5921/1.002, allocations: 214.2 MB / 0.9762 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00883/1.011, allocations: 7.037 MB / 0.9831 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/1.012, allocations: 43.19 kB / 0.9831 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/1.014, allocations: 0.8158 MB / 0.9839 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/1.02, allocations: 2.632 MB / 0.9865 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/1.022, allocations: 1.18 MB / 0.9877 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002939/1.025, allocations: 2.838 MB / 0.9904 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/1.027, allocations: 1.087 MB / 0.9915 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/1.03, allocations: 2.054 MB / 0.9935 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/1.032, allocations: 0.9431 MB / 0.9944 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.032, allocations: 116 kB / 0.9945 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003797/1.036, allocations: 2.463 MB / 0.9969 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/1.036, allocations: 425.2 kB / 0.9973 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006619/1.037, allocations: 0.6844 MB / 0.998 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003123/1.04, allocations: 2.506 MB / 1 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.04, allocations: 0 / 1 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/1.04, allocations: 1.031 kB / 1 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.568e-05/1.04, allocations: 0 / 1 GB, free: 1.125 MB / 0.7169 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.004236/1.044, allocations: 1.849 MB / 1.002 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/1.044, allocations: 10.09 kB / 1.002 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/1.047, allocations: 0.5368 MB / 1.003 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/1.049, allocations: 1.01 MB / 1.004 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/1.049, allocations: 64.59 kB / 1.004 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.049, allocations: 80.12 kB / 1.004 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/1.052, allocations: 1.224 MB / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.052, allocations: 0.9062 kB / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.052, allocations: 32.22 kB / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/1.052, allocations: 49.66 kB / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/1.055, allocations: 1.526 MB / 1.007 GB, free: 15.71 MB / 0.7325 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.005733/1.061, allocations: 4.036 MB / 1.011 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/1.063, allocations: 0.9663 MB / 1.012 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/1.065, allocations: 0.6595 MB / 1.012 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.066, allocations: 0.6056 MB / 1.013 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.066, allocations: 45 kB / 1.013 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/1.066, allocations: 0 / 1.013 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004577/1.071, allocations: 1.781 MB / 1.015 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/1.071, allocations: 64.44 kB / 1.015 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/1.072, allocations: 0.8245 MB / 1.015 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.472e-05/1.072, allocations: 43.14 kB / 1.015 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/1.072, allocations: 445.3 kB / 1.016 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/1.072, allocations: 264 kB / 1.016 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.072, allocations: 152.7 kB / 1.016 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.073, allocations: 336.1 kB / 1.017 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/1.074, allocations: 0.5255 MB / 1.017 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.075, allocations: 0.6448 MB / 1.018 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/1.078, allocations: 1.113 MB / 1.019 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.078, allocations: 0 / 1.019 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003186/1.081, allocations: 1.333 MB / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/1.081, allocations: 43 kB / 1.02 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.081, allocations: 2.25 kB / 1.02 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.081, allocations: 5.281 kB / 1.02 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.083, allocations: 251.4 kB / 1.02 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006992/1.084, allocations: 1.188 MB / 1.022 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.085, allocations: 143.1 kB / 1.022 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/1.085, allocations: 37.27 kB / 1.022 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001658/1.086, allocations: 0.7494 MB / 1.023 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001393/1.088, allocations: 0.6404 MB / 1.023 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002604/1.09, allocations: 1.111 MB / 1.024 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/1.09, allocations: 4 kB / 1.024 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003216/1.094, allocations: 1.316 MB / 1.026 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/1.094, allocations: 34.52 kB / 1.026 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.094, allocations: 2.953 kB / 1.026 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/1.094, allocations: 3.781 kB / 1.026 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.095, allocations: 224.5 kB / 1.026 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.095, allocations: 3.719 kB / 1.026 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.096, allocations: 138.1 kB / 1.026 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/1.096, allocations: 36.56 kB / 1.026 GB, free: 10.34 MB / 0.7325 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.0003234/1.097, allocations: 222.6 kB / 1.026 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/1.097, allocations: 101.8 kB / 1.026 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/1.1, allocations: 1.349 MB / 1.028 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.1, allocations: 2.859 kB / 1.028 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.1, allocations: 3.938 kB / 1.028 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/1.101, allocations: 310.9 kB / 1.028 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.101, allocations: 10.47 kB / 1.028 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.102, allocations: 107 kB / 1.028 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.102, allocations: 49.86 kB / 1.028 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003677/1.106, allocations: 1.349 MB / 1.029 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004522/1.11, allocations: 2.106 MB / 1.031 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001343/1.112, allocations: 0.5595 MB / 1.032 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00071/1.113, allocations: 0.568 MB / 1.033 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of Backend: time 3.81e-07/1.113, allocations: 0 / 1.033 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005644/1.118, allocations: 2.029 MB / 1.034 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003793/1.122, allocations: 2.272 MB / 1.037 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of Templates: time 0.04633/1.168, allocations: 30.17 MB / 1.066 GB, free: 11.18 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)