Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001653/0.001653, allocations: 196.2 kB / 16.25 MB, free: 6.621 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.545/1.545, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.573/1.573, allocations: 251.6 MB / 0.5089 GB, free: 3.34 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.001352/0.001352, allocations: 75.91 kB / 0.6218 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.572, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1624/0.7344, allocations: 146.9 MB / 0.8674 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.736, allocations: 1.121 MB / 0.8685 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.7361, allocations: 3.938 kB / 0.8685 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.7365, allocations: 47.73 kB / 0.8686 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.7372, allocations: 286.9 kB / 0.8689 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.7376, allocations: 151.5 kB / 0.869 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000402/0.738, allocations: 215.3 kB / 0.8692 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.7381, allocations: 67.05 kB / 0.8693 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.7382, allocations: 47.8 kB / 0.8693 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.7383, allocations: 63.69 kB / 0.8694 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.7383, allocations: 12 kB / 0.8694 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.7388, allocations: 387.2 kB / 0.8698 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.7389, allocations: 31.86 kB / 0.8698 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.739, allocations: 63.67 kB / 0.8699 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.7394, allocations: 299.2 kB / 0.8701 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7394, allocations: 3.938 kB / 0.8701 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.644e-06/0.7394, allocations: 0 / 0.8701 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.7394, allocations: 7.984 kB / 0.8702 GB, free: 6.84 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006719/0.7401, allocations: 466.9 kB / 0.8706 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7402, allocations: 12.03 kB / 0.8706 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.7405, allocations: 32.72 kB / 0.8706 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.7407, allocations: 220 kB / 0.8709 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.7408, allocations: 19.88 kB / 0.8709 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.7408, allocations: 11.94 kB / 0.8709 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.7411, allocations: 109.6 kB / 0.871 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.7411, allocations: 0 / 0.871 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.7411, allocations: 4 kB / 0.871 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7411, allocations: 4 kB / 0.871 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.7414, allocations: 91.94 kB / 0.8711 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.7421, allocations: 456 kB / 0.8715 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.7423, allocations: 98.5 kB / 0.8716 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.7424, allocations: 40.95 kB / 0.8717 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.7425, allocations: 4 kB / 0.8717 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.7425, allocations: 30.56 kB / 0.8717 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.7425, allocations: 0 / 0.8717 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0004474/0.743, allocations: 145.5 kB / 0.8718 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.743, allocations: 59.41 kB / 0.8719 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.7432, allocations: 180.4 kB / 0.8721 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.7432, allocations: 25.7 kB / 0.8721 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.7433, allocations: 123.9 kB / 0.8722 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.7433, allocations: 15.72 kB / 0.8722 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.7434, allocations: 25.7 kB / 0.8722 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7435, allocations: 330.7 kB / 0.8725 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.7436, allocations: 35.98 kB / 0.8726 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.7437, allocations: 35.95 kB / 0.8726 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.744, allocations: 72.83 kB / 0.8727 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.744, allocations: 0 / 0.8727 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002631/0.7442, allocations: 117.5 kB / 0.8728 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7443, allocations: 8 kB / 0.8728 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7443, allocations: 4 kB / 0.8728 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7443, allocations: 0 / 0.8728 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.7444, allocations: 15.98 kB / 0.8728 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7444, allocations: 0 / 0.8728 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.7446, allocations: 19.83 kB / 0.8728 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.7446, allocations: 0 / 0.8728 GB, free: 3.859 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/0.7447, allocations: 125.8 kB / 0.873 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.7447, allocations: 7.906 kB / 0.873 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.745, allocations: 134.9 kB / 0.8731 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7451, allocations: 0 / 0.8731 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7451, allocations: 0 / 0.8731 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.7451, allocations: 0 / 0.8731 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.7453, allocations: 225.5 kB / 0.8733 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7453, allocations: 0 / 0.8733 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.7454, allocations: 15.98 kB / 0.8733 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.7454, allocations: 0 / 0.8733 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.7455, allocations: 11.94 kB / 0.8733 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7455, allocations: 4 kB / 0.8733 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7455, allocations: 0 / 0.8733 GB, free: 3.281 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.7458, allocations: 207.3 kB / 0.8735 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.7458, allocations: 92.86 kB / 0.8736 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.7459, allocations: 4 kB / 0.8736 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.746, allocations: 11.98 kB / 0.8736 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.746, allocations: 4 kB / 0.8737 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.746, allocations: 4 kB / 0.8737 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001113/0.7462, allocations: 140.2 kB / 0.8738 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.7462, allocations: 0 / 0.8738 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002531/0.7464, allocations: 20 kB / 0.8738 GB, free: 2.773 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001993/0.7466, allocations: 111.2 kB / 0.8739 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.7469, allocations: 84.52 kB / 0.874 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7469, allocations: 0 / 0.874 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.747, allocations: 43.91 kB / 0.874 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.7475, allocations: 43.31 kB / 0.8741 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/0.7481, allocations: 292.8 kB / 0.8744 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.7484, allocations: 0.7041 MB / 0.875 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 8.342e-05/0.7485, allocations: 20.86 kB / 0.8751 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.7486, allocations: 15.44 kB / 0.8751 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/0.7486, allocations: 0 / 0.8751 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of Templates: time 0.004199/0.7528, allocations: 1.524 MB / 0.8766 GB, free: 15.91 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)