Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9704/0.9704, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 180.8 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 99.89 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001903, allocations: 286.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.032e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5821, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.455/6.037, allocations: 1.861 GB / 2.618 GB, free: 198.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/6.038, allocations: 91.83 kB / 2.618 GB, free: 198.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 11.96/18, allocations: 2.807 GB / 5.426 GB, free: 56.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.605e-06/18, allocations: 3.281 kB / 5.426 GB, free: 56.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0004579/18, allocations: 69.38 kB / 5.426 GB, free: 56.01 MB / 0.8073 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.0146/18.01, allocations: 3.497 MB / 5.429 GB, free: 54.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/18.01, allocations: 10.81 kB / 5.429 GB, free: 54.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/18.02, allocations: 1.195 MB / 5.43 GB, free: 54.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009766/18.03, allocations: 2.57 MB / 5.433 GB, free: 54.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/18.03, allocations: 349.6 kB / 5.433 GB, free: 54.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/18.03, allocations: 135.1 kB / 5.433 GB, free: 54.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006841/18.04, allocations: 2.43 MB / 5.436 GB, free: 54.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006795/18.05, allocations: 2.38 MB / 5.438 GB, free: 53.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/18.05, allocations: 0 / 5.438 GB, free: 53.64 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/18.05, allocations: 11.66 kB / 5.438 GB, free: 53.64 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.914e-05/18.05, allocations: 91.64 kB / 5.438 GB, free: 53.64 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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.0224/18.07, allocations: 13.57 MB / 5.451 GB, free: 46.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/18.07, allocations: 1.494 MB / 5.453 GB, free: 46.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007977/18.07, allocations: 0.6009 MB / 5.453 GB, free: 46.03 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005326/18.07, allocations: 325.8 kB / 5.454 GB, free: 45.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/18.07, allocations: 54.91 kB / 5.454 GB, free: 45.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001763/18.08, allocations: 164.7 kB / 5.454 GB, free: 45.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 4.118e-06/18.08, allocations: 1.094 kB / 5.454 GB, free: 45.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.002881/18.08, allocations: 1.511 MB / 5.455 GB, free: 45.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/18.08, allocations: 63.12 kB / 5.455 GB, free: 45.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/18.08, allocations: 1.561 MB / 5.457 GB, free: 45.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/18.08, allocations: 33.64 kB / 5.457 GB, free: 45.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008828/18.08, allocations: 1.287 MB / 5.458 GB, free: 44.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/18.08, allocations: 377.8 kB / 5.459 GB, free: 44.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/18.08, allocations: 2.594 kB / 5.459 GB, free: 44.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000119/18.08, allocations: 374.8 kB / 5.459 GB, free: 44.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/18.08, allocations: 0.6713 MB / 5.46 GB, free: 44.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/18.09, allocations: 1.323 MB / 5.461 GB, free: 43.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/18.09, allocations: 1.158 MB / 5.462 GB, free: 43.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/18.09, allocations: 3.812 kB / 5.462 GB, free: 43.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004563/18.09, allocations: 2.373 MB / 5.464 GB, free: 43.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001596/18.09, allocations: 5.629 MB / 5.47 GB, free: 37.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/18.09, allocations: 18.53 kB / 5.47 GB, free: 37.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.615e-05/18.09, allocations: 23.56 kB / 5.47 GB, free: 37.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/18.1, allocations: 0.569 MB / 5.47 GB, free: 37.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/18.1, allocations: 2.399 MB / 5.473 GB, free: 34.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/18.1, allocations: 385.3 kB / 5.473 GB, free: 34.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/18.1, allocations: 92.56 kB / 5.473 GB, free: 34.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/18.1, allocations: 6.406 kB / 5.473 GB, free: 34.87 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004071/18.11, allocations: 2.126 MB / 5.475 GB, free: 34.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/18.11, allocations: 16.47 kB / 5.475 GB, free: 34.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.323e-05/18.11, allocations: 30.27 kB / 5.475 GB, free: 34.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/18.11, allocations: 0.5349 MB / 5.476 GB, free: 34.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/18.11, allocations: 32.17 kB / 5.476 GB, free: 34.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/18.11, allocations: 314.1 kB / 5.476 GB, free: 34.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/18.11, allocations: 95.28 kB / 5.476 GB, free: 34.82 MB / 0.8073 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 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006137/18.11, allocations: 161.2 kB / 5.476 GB, free: 34.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004961/18.11, allocations: 219.6 kB / 5.477 GB, free: 34.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/18.12, allocations: 1.622 MB / 5.478 GB, free: 34.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/18.12, allocations: 15.3 kB / 5.478 GB, free: 34.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/18.12, allocations: 0 / 5.478 GB, free: 34.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/18.12, allocations: 7.312 kB / 5.478 GB, free: 34.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/18.12, allocations: 3.916 MB / 5.482 GB, free: 33.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/18.12, allocations: 10.84 kB / 5.482 GB, free: 33.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/18.13, allocations: 319.6 kB / 5.482 GB, free: 33.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/18.13, allocations: 11.62 kB / 5.482 GB, free: 33.97 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.693e-05/18.13, allocations: 15.41 kB / 5.482 GB, free: 33.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007262/18.13, allocations: 2.368 MB / 5.485 GB, free: 31.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/18.13, allocations: 12.12 kB / 5.485 GB, free: 31.63 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/18.13, allocations: 2.201 MB / 5.487 GB, free: 30.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/18.13, allocations: 0.4914 MB / 5.487 GB, free: 30.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/18.13, allocations: 13.94 kB / 5.487 GB, free: 30.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/18.13, allocations: 245 kB / 5.488 GB, free: 30.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/18.13, allocations: 80.81 kB / 5.488 GB, free: 30.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/18.13, allocations: 65.77 kB / 5.488 GB, free: 30.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00172/18.14, allocations: 1.148 MB / 5.489 GB, free: 30.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.8e-07/18.14, allocations: 3.094 kB / 5.489 GB, free: 30.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006288/18.14, allocations: 1.723 MB / 5.491 GB, free: 30 MB / 0.8073 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01262/18.15, allocations: 8.275 MB / 5.499 GB, free: 25.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00572/18.16, allocations: 2.847 MB / 5.501 GB, free: 25.49 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/18.16, allocations: 3.594 kB / 5.501 GB, free: 25.49 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/18.16, allocations: 0.6263 MB / 5.502 GB, free: 25.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/18.17, allocations: 0.7332 MB / 5.503 GB, free: 25.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/18.17, allocations: 3.093 MB / 5.506 GB, free: 24.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/18.17, allocations: 1.747 MB / 5.507 GB, free: 23.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004712/18.18, allocations: 0.8228 MB / 5.508 GB, free: 23.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/18.18, allocations: 141.8 kB / 5.508 GB, free: 23.67 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/18.18, allocations: 3.188 kB / 5.508 GB, free: 23.67 MB / 0.8073 GB Notification: Performance of Templates: time 0.1156/18.29, allocations: 69.74 MB / 5.576 GB, free: 17.25 MB / 0.8073 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)