Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007738/0.007738, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00182/0.00182, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.622/1.622, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001591/0.001591, allocations: 79.86 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2493, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.8127/1.062, allocations: 214.5 MB / 1.038 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01316/1.075, allocations: 7.074 MB / 1.044 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/1.078, allocations: 39.75 kB / 1.045 GB, free: 15.05 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002844/1.081, allocations: 0.8116 MB / 1.045 GB, free: 14.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/1.091, allocations: 2.757 MB / 1.048 GB, free: 11.47 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/1.095, allocations: 1.179 MB / 1.049 GB, free: 10.3 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005702/1.101, allocations: 2.813 MB / 1.052 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/1.103, allocations: 1.087 MB / 1.053 GB, free: 6.375 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005095/1.108, allocations: 1.892 MB / 1.055 GB, free: 4.477 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/1.111, allocations: 0.9959 MB / 1.056 GB, free: 3.488 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004496/1.112, allocations: 116 kB / 1.056 GB, free: 3.375 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005366/1.117, allocations: 2.467 MB / 1.058 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007481/1.118, allocations: 426.7 kB / 1.059 GB, free: 496 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/1.119, allocations: 0.6804 MB / 1.059 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00527/1.125, allocations: 2.5 MB / 1.062 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.125, allocations: 3.938 kB / 1.062 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.815e-06/1.125, allocations: 4 kB / 1.062 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.27e-05/1.125, allocations: 3.938 kB / 1.062 GB, free: 13.29 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.006411/1.131, allocations: 1.84 MB / 1.064 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.131, allocations: 8.031 kB / 1.064 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/1.135, allocations: 0.5331 MB / 1.064 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/1.137, allocations: 1.011 MB / 1.065 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/1.137, allocations: 69.94 kB / 1.065 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/1.137, allocations: 84 kB / 1.065 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/1.14, allocations: 1.229 MB / 1.066 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/1.14, allocations: 0 / 1.066 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.14, allocations: 39.98 kB / 1.067 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/1.14, allocations: 41.98 kB / 1.067 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/1.144, allocations: 1.526 MB / 1.068 GB, free: 6.797 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.007195/1.151, allocations: 4.045 MB / 1.072 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/1.154, allocations: 0.9668 MB / 1.073 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/1.155, allocations: 0.6591 MB / 1.074 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.156, allocations: 0.6087 MB / 1.074 GB, free: 120 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/1.157, allocations: 43.16 kB / 1.074 GB, free: 68 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 3.126e-06/1.157, allocations: 0 / 1.074 GB, free: 68 kB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.005251/1.162, allocations: 1.785 MB / 1.076 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/1.162, allocations: 60.06 kB / 1.076 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/1.163, allocations: 0.8232 MB / 1.077 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/1.164, allocations: 41.7 kB / 1.077 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/1.164, allocations: 436.6 kB / 1.077 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/1.164, allocations: 272 kB / 1.078 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/1.165, allocations: 154.5 kB / 1.078 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.165, allocations: 334 kB / 1.078 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/1.166, allocations: 0.5317 MB / 1.079 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/1.168, allocations: 0.6598 MB / 1.079 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/1.171, allocations: 1.123 MB / 1.08 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.171, allocations: 4 kB / 1.08 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003461/1.174, allocations: 1.345 MB / 1.082 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/1.174, allocations: 33.7 kB / 1.082 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.174, allocations: 4 kB / 1.082 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.174, allocations: 4 kB / 1.082 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/1.176, allocations: 254.5 kB / 1.082 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/1.177, allocations: 1.199 MB / 1.083 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.178, allocations: 144.3 kB / 1.083 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.178, allocations: 35.98 kB / 1.083 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001854/1.18, allocations: 0.7556 MB / 1.084 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/1.182, allocations: 0.6481 MB / 1.085 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002855/1.185, allocations: 1.12 MB / 1.086 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/1.185, allocations: 0 / 1.086 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003476/1.188, allocations: 1.329 MB / 1.087 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/1.188, allocations: 49.56 kB / 1.087 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.188, allocations: 0 / 1.087 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/1.188, allocations: 16 kB / 1.087 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.19, allocations: 223.7 kB / 1.087 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.19, allocations: 4 kB / 1.087 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.191, allocations: 132.2 kB / 1.087 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/1.191, allocations: 35.98 kB / 1.087 GB, free: 2.289 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.0003194/1.191, allocations: 228.8 kB / 1.088 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/1.191, allocations: 110.7 kB / 1.088 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/1.195, allocations: 1.337 MB / 1.089 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.195, allocations: 8 kB / 1.089 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.195, allocations: 0 / 1.089 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/1.195, allocations: 7.984 kB / 1.089 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/1.201, allocations: 2.835 MB / 1.092 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.201, allocations: 3.984 kB / 1.092 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.202, allocations: 236.1 kB / 1.092 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/1.202, allocations: 8 kB / 1.092 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/1.202, allocations: 23.92 kB / 1.092 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006701/1.203, allocations: 1.184 MB / 1.093 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/1.203, allocations: 16 kB / 1.093 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/1.207, allocations: 1.447 MB / 1.095 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/1.207, allocations: 311.5 kB / 1.095 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/1.207, allocations: 16 kB / 1.095 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.209, allocations: 107.9 kB / 1.095 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.209, allocations: 64.36 kB / 1.095 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/1.209, allocations: 35.97 kB / 1.095 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007607/1.21, allocations: 0.5661 MB / 1.096 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/1.21, allocations: 0 / 1.096 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001444/1.211, allocations: 0.534 MB / 1.096 GB, free: 8.973 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.0006557/1.212, allocations: 283.4 kB / 1.097 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005544/1.217, allocations: 2.026 MB / 1.099 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.217, allocations: 0 / 1.099 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.219, allocations: 0.6636 MB / 1.099 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.221, allocations: 0.49 MB / 1.1 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/1.226, allocations: 2.048 MB / 1.102 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/1.227, allocations: 1.09 MB / 1.103 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001524/1.228, allocations: 395.5 kB / 1.103 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/1.228, allocations: 91.39 kB / 1.103 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/1.228, allocations: 4 kB / 1.103 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of Templates: time 0.03873/1.267, allocations: 20.98 MB / 1.124 GB, free: 13.09 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)