Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.01288/0.01288, allocations: 96.23 kB / 15.73 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.0022/0.0022, allocations: 195.1 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 251.7 MB / 0.5094 GB, free: 3.129 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 71.89 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.8206/1.067, allocations: 214.5 MB / 1.038 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01421/1.081, allocations: 7.076 MB / 1.044 GB, free: 15.12 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/1.083, allocations: 39.75 kB / 1.045 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002856/1.086, allocations: 0.7959 MB / 1.045 GB, free: 14.29 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008231/1.095, allocations: 2.645 MB / 1.048 GB, free: 11.63 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/1.099, allocations: 1.177 MB / 1.049 GB, free: 10.46 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005365/1.104, allocations: 2.806 MB / 1.052 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/1.107, allocations: 1.08 MB / 1.053 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/1.112, allocations: 1.845 MB / 1.055 GB, free: 4.703 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/1.116, allocations: 0.9858 MB / 1.056 GB, free: 3.723 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005303/1.116, allocations: 119.9 kB / 1.056 GB, free: 3.605 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006423/1.123, allocations: 2.452 MB / 1.058 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000784/1.123, allocations: 426.7 kB / 1.058 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/1.125, allocations: 0.692 MB / 1.059 GB, free: 36 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006577/1.132, allocations: 2.506 MB / 1.062 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/1.132, allocations: 4 kB / 1.062 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.405e-06/1.132, allocations: 3.938 kB / 1.062 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.524e-05/1.132, allocations: 0 / 1.062 GB, free: 13.52 MB / 0.8106 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.005765/1.138, allocations: 1.884 MB / 1.063 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.138, allocations: 8.031 kB / 1.063 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/1.141, allocations: 0.5494 MB / 1.064 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/1.143, allocations: 1.008 MB / 1.065 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/1.143, allocations: 69.94 kB / 1.065 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/1.144, allocations: 83.98 kB / 1.065 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/1.147, allocations: 1.233 MB / 1.066 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/1.147, allocations: 0 / 1.066 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.147, allocations: 32 kB / 1.066 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/1.147, allocations: 45.98 kB / 1.066 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/1.151, allocations: 1.522 MB / 1.068 GB, free: 6.977 MB / 0.8106 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.007247/1.158, allocations: 4.053 MB / 1.072 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/1.161, allocations: 0.9755 MB / 1.073 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/1.162, allocations: 0.659 MB / 1.073 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.163, allocations: 0.6087 MB / 1.074 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/1.163, allocations: 47.22 kB / 1.074 GB, free: 232 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 3.377e-06/1.163, allocations: 0 / 1.074 GB, free: 232 kB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.005172/1.169, allocations: 1.785 MB / 1.076 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.169, allocations: 60.06 kB / 1.076 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/1.17, allocations: 0.8194 MB / 1.077 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/1.17, allocations: 45.7 kB / 1.077 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/1.17, allocations: 452.9 kB / 1.077 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/1.171, allocations: 265.7 kB / 1.077 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/1.171, allocations: 162.5 kB / 1.078 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.171, allocations: 334 kB / 1.078 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/1.173, allocations: 0.5356 MB / 1.078 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/1.174, allocations: 0.6481 MB / 1.079 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/1.177, allocations: 1.131 MB / 1.08 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.177, allocations: 0 / 1.08 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003594/1.181, allocations: 1.349 MB / 1.081 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/1.181, allocations: 37.77 kB / 1.082 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.181, allocations: 7.922 kB / 1.082 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.181, allocations: 4 kB / 1.082 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.182, allocations: 261.2 kB / 1.082 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007651/1.183, allocations: 1.188 MB / 1.083 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.184, allocations: 143.6 kB / 1.083 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.184, allocations: 39.97 kB / 1.083 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001871/1.186, allocations: 0.7556 MB / 1.084 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001538/1.188, allocations: 0.6481 MB / 1.084 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002834/1.191, allocations: 1.12 MB / 1.086 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.469e-06/1.191, allocations: 7.938 kB / 1.086 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003587/1.194, allocations: 1.349 MB / 1.087 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/1.194, allocations: 33.7 kB / 1.087 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.194, allocations: 0 / 1.087 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/1.194, allocations: 7.938 kB / 1.087 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.196, allocations: 223.8 kB / 1.087 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/1.196, allocations: 11.94 kB / 1.087 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.197, allocations: 135.6 kB / 1.087 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/1.197, allocations: 35.97 kB / 1.087 GB, free: 2.41 MB / 0.8262 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.0002884/1.197, allocations: 220.1 kB / 1.088 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/1.198, allocations: 111.2 kB / 1.088 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/1.201, allocations: 1.349 MB / 1.089 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.201, allocations: 4 kB / 1.089 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.201, allocations: 4 kB / 1.089 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/1.201, allocations: 7.984 kB / 1.089 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006559/1.208, allocations: 2.832 MB / 1.092 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.208, allocations: 4 kB / 1.092 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.209, allocations: 227.8 kB / 1.092 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-05/1.209, allocations: 11.98 kB / 1.092 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/1.209, allocations: 27.92 kB / 1.092 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000784/1.21, allocations: 1.203 MB / 1.093 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.21, allocations: 7.938 kB / 1.093 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/1.214, allocations: 1.448 MB / 1.095 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006825/1.214, allocations: 320 kB / 1.095 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/1.215, allocations: 16 kB / 1.095 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.216, allocations: 103.9 kB / 1.095 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.216, allocations: 68.36 kB / 1.095 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.322e-05/1.216, allocations: 35.98 kB / 1.095 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008903/1.217, allocations: 0.5661 MB / 1.096 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.217, allocations: 0 / 1.096 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001616/1.219, allocations: 0.542 MB / 1.096 GB, free: 9.066 MB / 0.8419 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.0007027/1.219, allocations: 265.4 kB / 1.096 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00561/1.225, allocations: 2.03 MB / 1.098 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.225, allocations: 0 / 1.098 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/1.227, allocations: 0.6597 MB / 1.099 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.23, allocations: 0.4907 MB / 1.1 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/1.235, allocations: 2.09 MB / 1.102 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/1.235, allocations: 1.098 MB / 1.103 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001572/1.237, allocations: 387.5 kB / 1.103 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/1.237, allocations: 91.41 kB / 1.103 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/1.237, allocations: 3.938 kB / 1.103 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of Templates: time 0.03821/1.276, allocations: 20.98 MB / 1.124 GB, free: 13.19 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)