Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001042/0.001042, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008251/0.008251, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 269.7 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.955/0.955, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004215, allocations: 17.69 kB / 0.5986 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1475, allocations: 88.54 MB / 0.6851 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.5358/0.6833, allocations: 209.2 MB / 0.8894 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009783/0.6931, allocations: 7.058 MB / 0.8963 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.6942, allocations: 39.69 kB / 0.8964 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.696, allocations: 0.6528 MB / 0.897 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005783/0.7018, allocations: 2.364 MB / 0.8993 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.7045, allocations: 1.055 MB / 0.9003 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004148/0.7086, allocations: 3.757 MB / 0.904 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.7101, allocations: 0.8985 MB / 0.9049 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.7141, allocations: 1.759 MB / 0.9066 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.7162, allocations: 0.9147 MB / 0.9075 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.7164, allocations: 48 kB / 0.9075 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004846/0.7212, allocations: 2.798 MB / 0.9103 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.7217, allocations: 342.7 kB / 0.9106 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007617/0.7224, allocations: 0.6273 MB / 0.9112 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.7259, allocations: 2.523 MB / 0.9137 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7259, allocations: 4 kB / 0.9137 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7259, allocations: 0 / 0.9137 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.7259, allocations: 0 / 0.9137 GB, free: 5.988 MB / 0.6231 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.003852/0.7298, allocations: 1.603 MB / 0.9152 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.7298, allocations: 12.03 kB / 0.9152 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003018/0.7328, allocations: 0.5721 MB / 0.9158 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.7345, allocations: 0.9795 MB / 0.9168 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006239/0.7351, allocations: 193.9 kB / 0.9169 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.7353, allocations: 87.98 kB / 0.917 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.738, allocations: 1.26 MB / 0.9183 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.7381, allocations: 8 kB / 0.9183 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.7382, allocations: 31.98 kB / 0.9183 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/0.7383, allocations: 49.92 kB / 0.9183 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/0.7419, allocations: 1.62 MB / 0.9199 GB, free: 15.46 MB / 0.6387 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.005933/0.7479, allocations: 4.077 MB / 0.9239 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.7504, allocations: 1.06 MB / 0.9249 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.7519, allocations: 0.6956 MB / 0.9256 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.753, allocations: 0.6399 MB / 0.9263 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.753, allocations: 39.22 kB / 0.9263 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.384e-06/0.753, allocations: 0 / 0.9263 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004884/0.7579, allocations: 1.921 MB / 0.9282 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.758, allocations: 68 kB / 0.9282 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00097/0.7589, allocations: 0.8154 MB / 0.929 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.7591, allocations: 45.7 kB / 0.9291 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.7594, allocations: 440.5 kB / 0.9295 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.7596, allocations: 264.1 kB / 0.9297 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.7597, allocations: 61.67 kB / 0.9298 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7598, allocations: 334 kB / 0.9301 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.7613, allocations: 0.5602 MB / 0.9307 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.7629, allocations: 0.6863 MB / 0.9313 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.7658, allocations: 1.212 MB / 0.9325 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7658, allocations: 0 / 0.9325 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003416/0.7692, allocations: 1.411 MB / 0.9339 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/0.7693, allocations: 147.9 kB / 0.934 GB, free: 456 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7693, allocations: 4 kB / 0.934 GB, free: 452 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.7694, allocations: 7.984 kB / 0.9341 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.7709, allocations: 276.2 kB / 0.9343 GB, free: 168 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006531/0.7715, allocations: 1.199 MB / 0.9355 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.7728, allocations: 191.4 kB / 0.9357 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.7729, allocations: 35.91 kB / 0.9357 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.7729, allocations: 4 kB / 0.9357 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003202/0.7761, allocations: 1.305 MB / 0.937 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7761, allocations: 0 / 0.937 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.7762, allocations: 11.92 kB / 0.937 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.7774, allocations: 243.8 kB / 0.9372 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7774, allocations: 11.98 kB / 0.9372 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.7786, allocations: 198.6 kB / 0.9374 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.7787, allocations: 31.98 kB / 0.9375 GB, free: 12.89 MB / 0.6544 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.0005612/0.7793, allocations: 377.5 kB / 0.9378 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.7795, allocations: 102.8 kB / 0.9379 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/0.783, allocations: 1.437 MB / 0.9393 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.783, allocations: 8 kB / 0.9393 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.783, allocations: 4 kB / 0.9393 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.783, allocations: 3.984 kB / 0.9393 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005444/0.7885, allocations: 2.929 MB / 0.9422 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.7885, allocations: 4 kB / 0.9422 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.7897, allocations: 248.1 kB / 0.9424 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.7897, allocations: 8 kB / 0.9424 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/0.7898, allocations: 35.91 kB / 0.9425 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005345/0.7904, allocations: 1.191 MB / 0.9436 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7904, allocations: 7.938 kB / 0.9436 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/0.7936, allocations: 1.541 MB / 0.9452 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.7941, allocations: 311.5 kB / 0.9454 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.7943, allocations: 20 kB / 0.9455 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.7955, allocations: 163.8 kB / 0.9456 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.7956, allocations: 64.36 kB / 0.9457 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.7957, allocations: 35.98 kB / 0.9457 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000734/0.7964, allocations: 0.57 MB / 0.9463 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7965, allocations: 0 / 0.9463 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001348/0.7978, allocations: 0.5341 MB / 0.9468 GB, free: 3.066 MB / 0.6544 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.0005811/0.7984, allocations: 278.7 kB / 0.9471 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005253/0.8037, allocations: 2.131 MB / 0.9491 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8037, allocations: 0 / 0.9491 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.8054, allocations: 0.7105 MB / 0.9498 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/0.8084, allocations: 0.5177 MB / 0.9503 GB, free: 15.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.8126, allocations: 2.555 MB / 0.9528 GB, free: 12.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.8132, allocations: 1.094 MB / 0.9539 GB, free: 11.68 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001477/0.8147, allocations: 395.5 kB / 0.9543 GB, free: 11.29 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.815, allocations: 87.41 kB / 0.9544 GB, free: 11.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.753e-06/0.815, allocations: 0 / 0.9544 GB, free: 11.2 MB / 0.67 GB Notification: Performance of Templates: time 0.03047/0.8455, allocations: 20.24 MB / 0.9741 GB, free: 7.262 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)