Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 292.3 MB / 308.1 MB, free: 4.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 184.5 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001102, allocations: 99.73 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2677, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7698/1.037, allocations: 326.4 MB / 1.301 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.03781/1.075, allocations: 30.06 MB / 1.33 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005611/1.081, allocations: 87.44 kB / 1.33 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.007099/1.088, allocations: 1.772 MB / 1.332 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01499/1.103, allocations: 4.657 MB / 1.337 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.009931/1.113, allocations: 3.349 MB / 1.34 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0117/1.125, allocations: 9.644 MB / 1.349 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004166/1.129, allocations: 2.424 MB / 1.352 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01479/1.144, allocations: 4.78 MB / 1.356 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005987/1.15, allocations: 2.47 MB / 1.359 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0009727/1.151, allocations: 168 kB / 1.359 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/1.163, allocations: 5.619 MB / 1.364 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/1.165, allocations: 0.9422 MB / 1.365 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.003129/1.168, allocations: 1.601 MB / 1.367 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/1.179, allocations: 5.897 MB / 1.373 GB, free: 3.484 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/1.179, allocations: 8 kB / 1.373 GB, free: 3.477 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.375e-06/1.179, allocations: 4 kB / 1.373 GB, free: 3.473 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001517/1.179, allocations: 0 / 1.373 GB, free: 3.473 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.4433/1.622, allocations: 3.697 MB / 1.376 GB, free: 286.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.623, allocations: 10.02 kB / 1.376 GB, free: 286.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009775/1.632, allocations: 1.464 MB / 1.378 GB, free: 286.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004357/1.637, allocations: 1.979 MB / 1.38 GB, free: 285.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001318/1.638, allocations: 396.1 kB / 1.38 GB, free: 285.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005842/1.639, allocations: 218.3 kB / 1.38 GB, free: 285.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005695/1.644, allocations: 3.071 MB / 1.383 GB, free: 285.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/1.644, allocations: 1.312 kB / 1.383 GB, free: 285.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/1.645, allocations: 92.47 kB / 1.383 GB, free: 285.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.513e-05/1.645, allocations: 92.31 kB / 1.383 GB, free: 285.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007448/1.652, allocations: 3.144 MB / 1.387 GB, free: 285.1 MB / 0.9323 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.02511/1.677, allocations: 14.08 MB / 1.4 GB, free: 276 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/1.682, allocations: 1.647 MB / 1.402 GB, free: 275.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/1.684, allocations: 0.7697 MB / 1.403 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/1.684, allocations: 328.5 kB / 1.403 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/1.684, allocations: 57.12 kB / 1.403 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001584/1.686, allocations: 192.1 kB / 1.403 GB, free: 274.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 4.278e-06/1.686, allocations: 1.281 kB / 1.403 GB, free: 274.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.005884/1.692, allocations: 2.359 MB / 1.406 GB, free: 274 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/1.692, allocations: 69.88 kB / 1.406 GB, free: 273.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005089/1.697, allocations: 2.539 MB / 1.408 GB, free: 273 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004691/1.697, allocations: 58.08 kB / 1.408 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/1.699, allocations: 1.27 MB / 1.409 GB, free: 271.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005039/1.699, allocations: 388.3 kB / 1.41 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007804/1.7, allocations: 396.1 kB / 1.41 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/1.7, allocations: 304.3 kB / 1.41 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/1.703, allocations: 0.9755 MB / 1.411 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/1.706, allocations: 1.609 MB / 1.413 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/1.71, allocations: 2.277 MB / 1.415 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/1.71, allocations: 6.781 kB / 1.415 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007437/1.718, allocations: 2.815 MB / 1.418 GB, free: 267.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/1.718, allocations: 71.52 kB / 1.418 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/1.718, allocations: 20.09 kB / 1.418 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.426e-05/1.718, allocations: 25.97 kB / 1.418 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/1.721, allocations: 0.565 MB / 1.419 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009929/1.722, allocations: 2.39 MB / 1.421 GB, free: 265.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/1.726, allocations: 405 kB / 1.421 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004175/1.727, allocations: 94.8 kB / 1.421 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003929/1.731, allocations: 1.41 MB / 1.423 GB, free: 264.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003172/1.734, allocations: 1.603 MB / 1.424 GB, free: 263.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004582/1.739, allocations: 2.266 MB / 1.427 GB, free: 262.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.201e-05/1.739, allocations: 7.188 kB / 1.427 GB, free: 262.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006893/1.745, allocations: 2.816 MB / 1.429 GB, free: 261.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/1.746, allocations: 75.19 kB / 1.429 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.746, allocations: 14.81 kB / 1.429 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/1.746, allocations: 27.12 kB / 1.429 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/1.748, allocations: 0.5169 MB / 1.43 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-05/1.748, allocations: 34.67 kB / 1.43 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/1.752, allocations: 403.1 kB / 1.43 GB, free: 261.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/1.752, allocations: 96.47 kB / 1.43 GB, free: 261.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006274/1.753, allocations: 298.1 kB / 1.431 GB, free: 260.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/1.753, allocations: 260.8 kB / 1.431 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/1.758, allocations: 1.849 MB / 1.433 GB, free: 260 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.758, allocations: 12.38 kB / 1.433 GB, free: 260 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.758, allocations: 0 / 1.433 GB, free: 260 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.758, allocations: 6.422 kB / 1.433 GB, free: 260 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009369/1.767, allocations: 4.484 MB / 1.437 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.768, allocations: 6.656 kB / 1.437 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.769, allocations: 311.2 kB / 1.437 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.193e-05/1.769, allocations: 9.406 kB / 1.437 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.769, allocations: 31.62 kB / 1.437 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007726/1.77, allocations: 2.365 MB / 1.44 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.77, allocations: 13.97 kB / 1.44 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006931/1.777, allocations: 3.902 MB / 1.444 GB, free: 253.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/1.779, allocations: 0.5191 MB / 1.444 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006748/1.779, allocations: 28.17 kB / 1.444 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/1.782, allocations: 272 kB / 1.444 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.783, allocations: 87.77 kB / 1.444 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.783, allocations: 60.36 kB / 1.445 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003433/1.786, allocations: 1.751 MB / 1.446 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/1.786, allocations: 0 / 1.446 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004785/1.791, allocations: 1.311 MB / 1.448 GB, free: 252.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008574/1.792, allocations: 375.9 kB / 1.448 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008615/1.8, allocations: 3.613 MB / 1.451 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.801, allocations: 3 kB / 1.451 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/1.802, allocations: 0.8175 MB / 1.452 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007459/1.81, allocations: 1.199 MB / 1.453 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008814/1.819, allocations: 5.757 MB / 1.459 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/1.82, allocations: 1.725 MB / 1.461 GB, free: 246 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004592/1.825, allocations: 0.7878 MB / 1.461 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009339/1.826, allocations: 196.4 kB / 1.462 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.382e-06/1.826, allocations: 0 / 1.462 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.1222/1.948, allocations: 47.42 MB / 1.508 GB, free: 232.3 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)