Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007429/0.0007427, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004973/0.004973, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001687, allocations: 263.1 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004349, allocations: 13.55 kB / 0.5986 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5128/0.6847, allocations: 209.2 MB / 0.8894 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.6951, allocations: 7.066 MB / 0.8963 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.6967, allocations: 35.75 kB / 0.8963 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.6993, allocations: 0.6528 MB / 0.897 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007844/0.7072, allocations: 2.375 MB / 0.8993 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.7104, allocations: 1.045 MB / 0.9003 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005624/0.716, allocations: 3.76 MB / 0.904 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.718, allocations: 0.8947 MB / 0.9049 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005077/0.7231, allocations: 1.767 MB / 0.9066 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/0.7258, allocations: 0.9055 MB / 0.9075 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003395/0.7262, allocations: 44 kB / 0.9075 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005316/0.7315, allocations: 2.806 MB / 0.9102 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.7322, allocations: 346.7 kB / 0.9106 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.7335, allocations: 0.6273 MB / 0.9112 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004793/0.7383, allocations: 2.52 MB / 0.9136 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7383, allocations: 0 / 0.9136 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.066e-06/0.7383, allocations: 0 / 0.9136 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.419e-05/0.7384, allocations: 0 / 0.9136 GB, free: 5.777 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.004518/0.7429, allocations: 1.603 MB / 0.9152 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.743, allocations: 8.031 kB / 0.9152 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.7463, allocations: 0.5916 MB / 0.9158 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.7482, allocations: 0.9601 MB / 0.9167 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006573/0.7489, allocations: 197.9 kB / 0.9169 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.749, allocations: 83.98 kB / 0.917 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.7519, allocations: 1.276 MB / 0.9183 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.752, allocations: 0 / 0.9183 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.7521, allocations: 35.94 kB / 0.9183 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.778e-05/0.7521, allocations: 45.98 kB / 0.9183 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/0.7559, allocations: 1.612 MB / 0.9199 GB, free: 15.26 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.006208/0.7622, allocations: 4.084 MB / 0.9239 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.7647, allocations: 1.049 MB / 0.9249 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.7663, allocations: 0.6956 MB / 0.9256 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.7673, allocations: 0.636 MB / 0.9262 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.7674, allocations: 43.22 kB / 0.9263 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.264e-06/0.7674, allocations: 7.938 kB / 0.9263 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004972/0.7724, allocations: 1.921 MB / 0.9281 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.7724, allocations: 60.06 kB / 0.9282 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.7735, allocations: 0.8194 MB / 0.929 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.7736, allocations: 41.7 kB / 0.929 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.774, allocations: 440.5 kB / 0.9295 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.7743, allocations: 268.1 kB / 0.9297 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.7744, allocations: 61.69 kB / 0.9298 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7746, allocations: 334 kB / 0.9301 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.7761, allocations: 0.5641 MB / 0.9306 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.7777, allocations: 0.6902 MB / 0.9313 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/0.7806, allocations: 1.205 MB / 0.9325 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.7806, allocations: 3.938 kB / 0.9325 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003597/0.7843, allocations: 1.411 MB / 0.9339 GB, free: 416 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.7844, allocations: 152 kB / 0.934 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7844, allocations: 4 kB / 0.934 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.7845, allocations: 4 kB / 0.934 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.7861, allocations: 275.6 kB / 0.9343 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007901/0.7869, allocations: 1.195 MB / 0.9355 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.7884, allocations: 195.5 kB / 0.9356 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.7885, allocations: 27.98 kB / 0.9357 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.7885, allocations: 7.938 kB / 0.9357 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003215/0.7917, allocations: 1.313 MB / 0.937 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7917, allocations: 4.062 kB / 0.937 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.7918, allocations: 7.938 kB / 0.937 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.7929, allocations: 247.7 kB / 0.9372 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.793, allocations: 4 kB / 0.9372 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.7942, allocations: 198.9 kB / 0.9374 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.7943, allocations: 27.98 kB / 0.9374 GB, free: 12.69 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.0005844/0.7949, allocations: 373.6 kB / 0.9378 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.7951, allocations: 102.8 kB / 0.9379 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.7986, allocations: 1.445 MB / 0.9393 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.7986, allocations: 11.98 kB / 0.9393 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7986, allocations: 0 / 0.9393 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.7987, allocations: 3.984 kB / 0.9393 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005504/0.8042, allocations: 2.933 MB / 0.9422 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.8042, allocations: 4 kB / 0.9422 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.8054, allocations: 259.6 kB / 0.9424 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.8055, allocations: 4 kB / 0.9424 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.8055, allocations: 27.92 kB / 0.9425 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000578/0.8061, allocations: 1.195 MB / 0.9436 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8061, allocations: 4 kB / 0.9436 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/0.8096, allocations: 1.541 MB / 0.9451 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/0.8102, allocations: 311.5 kB / 0.9454 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.8104, allocations: 23.98 kB / 0.9455 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.8116, allocations: 159.7 kB / 0.9456 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.8118, allocations: 60.42 kB / 0.9457 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.8119, allocations: 35.97 kB / 0.9457 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007247/0.8126, allocations: 0.5739 MB / 0.9463 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8126, allocations: 0 / 0.9463 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001421/0.814, allocations: 0.5302 MB / 0.9468 GB, free: 2.855 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.0006053/0.8147, allocations: 277 kB / 0.947 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005423/0.8201, allocations: 2.131 MB / 0.9491 GB, free: 444 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8201, allocations: 3.938 kB / 0.9491 GB, free: 440 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.822, allocations: 0.6989 MB / 0.9498 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/0.8253, allocations: 0.5243 MB / 0.9503 GB, free: 15.21 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.8298, allocations: 2.555 MB / 0.9528 GB, free: 12.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.8305, allocations: 1.094 MB / 0.9539 GB, free: 11.47 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00166/0.8321, allocations: 395.5 kB / 0.9543 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.8325, allocations: 83.41 kB / 0.9543 GB, free: 11 MB / 0.67 GB Notification: Performance of SimCode: time 5.92e-07/0.8325, allocations: 0 / 0.9543 GB, free: 11 MB / 0.67 GB Notification: Performance of Templates: time 0.03258/0.8651, allocations: 20.24 MB / 0.9741 GB, free: 7.062 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)