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.001103/0.001103, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001506/0.001506, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.673/1.673, allocations: 252 MB / 0.5102 GB, free: 4.824 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.000577/0.0005772, allocations: 15.98 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5316, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1652/0.6968, allocations: 135.1 MB / 0.8601 GB, free: 3.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.6983, allocations: 1.06 MB / 0.8611 GB, free: 2.867 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.6984, allocations: 0 / 0.8611 GB, free: 2.867 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.6986, allocations: 35.75 kB / 0.8612 GB, free: 2.832 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0006252/0.6993, allocations: 195 kB / 0.8613 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.6996, allocations: 135.5 kB / 0.8615 GB, free: 2.508 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.7, allocations: 219.3 kB / 0.8617 GB, free: 2.293 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.7001, allocations: 51.23 kB / 0.8617 GB, free: 2.242 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.7002, allocations: 35.8 kB / 0.8618 GB, free: 2.207 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.7003, allocations: 51.7 kB / 0.8618 GB, free: 2.156 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.7003, allocations: 4 kB / 0.8618 GB, free: 2.152 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.7008, allocations: 283.5 kB / 0.8621 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.7008, allocations: 31.83 kB / 0.8621 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.7009, allocations: 45.64 kB / 0.8622 GB, free: 1.793 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.7011, allocations: 203.5 kB / 0.8624 GB, free: 1.594 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7012, allocations: 0 / 0.8624 GB, free: 1.594 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7012, allocations: 0 / 0.8624 GB, free: 1.594 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.7012, allocations: 0 / 0.8624 GB, free: 1.594 MB / 0.67 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.0006246/0.7018, allocations: 450.8 kB / 0.8628 GB, free: 1.105 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7018, allocations: 8.031 kB / 0.8628 GB, free: 1.098 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.7021, allocations: 47.73 kB / 0.8628 GB, free: 1.051 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.7024, allocations: 202.8 kB / 0.863 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.7024, allocations: 8 kB / 0.863 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.7024, allocations: 12 kB / 0.863 GB, free: 0.793 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.7027, allocations: 121.6 kB / 0.8632 GB, free: 0.668 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7027, allocations: 0 / 0.8632 GB, free: 0.668 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.7027, allocations: 7.953 kB / 0.8632 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.7027, allocations: 4 kB / 0.8632 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.703, allocations: 99.92 kB / 0.8633 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.7037, allocations: 456.2 kB / 0.8637 GB, free: 64 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.7039, allocations: 102.5 kB / 0.8638 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.7041, allocations: 36.95 kB / 0.8638 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.7041, allocations: 4 kB / 0.8638 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.7041, allocations: 34.56 kB / 0.8639 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.7041, allocations: 4 kB / 0.8639 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.000433/0.7046, allocations: 161.3 kB / 0.864 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.7046, allocations: 55.41 kB / 0.8641 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.7048, allocations: 180.4 kB / 0.8643 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.7049, allocations: 25.7 kB / 0.8643 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.7049, allocations: 120 kB / 0.8644 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.705, allocations: 27.64 kB / 0.8644 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.705, allocations: 0 / 0.8644 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7051, allocations: 322.8 kB / 0.8647 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.7053, allocations: 35.98 kB / 0.8648 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.7054, allocations: 39.97 kB / 0.8648 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.7055, allocations: 35.98 kB / 0.8648 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7055, allocations: 0 / 0.8648 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002748/0.7058, allocations: 133.5 kB / 0.865 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7058, allocations: 4 kB / 0.865 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.7058, allocations: 3.938 kB / 0.865 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7058, allocations: 0 / 0.865 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.706, allocations: 23.92 kB / 0.865 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.706, allocations: 7.953 kB / 0.865 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.855e-05/0.7061, allocations: 15.92 kB / 0.865 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.7061, allocations: 4 kB / 0.865 GB, free: 14.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.808e-05/0.7062, allocations: 117.8 kB / 0.8651 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.7062, allocations: 15.81 kB / 0.8651 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.7066, allocations: 143.5 kB / 0.8653 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7066, allocations: 3.984 kB / 0.8653 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7066, allocations: 0 / 0.8653 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.7066, allocations: 3.953 kB / 0.8653 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.7068, allocations: 217.6 kB / 0.8655 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7069, allocations: 0 / 0.8655 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.707, allocations: 15.98 kB / 0.8655 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.707, allocations: 8 kB / 0.8655 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.707, allocations: 0 / 0.8655 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.707, allocations: 0 / 0.8655 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.707, allocations: 4.062 kB / 0.8655 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.7073, allocations: 231.2 kB / 0.8657 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.7074, allocations: 88.95 kB / 0.8658 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.7074, allocations: 4 kB / 0.8658 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.7075, allocations: 15.98 kB / 0.8659 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.7076, allocations: 3.984 kB / 0.8659 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.7076, allocations: 4 kB / 0.8659 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001188/0.7077, allocations: 136.2 kB / 0.866 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7077, allocations: 7.938 kB / 0.866 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002385/0.708, allocations: 23.91 kB / 0.866 GB, free: 13.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001594/0.7081, allocations: 111.2 kB / 0.8661 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.7084, allocations: 91.89 kB / 0.8662 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7084, allocations: 0 / 0.8662 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.7086, allocations: 39.98 kB / 0.8663 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.709, allocations: 35.97 kB / 0.8663 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.7095, allocations: 305.4 kB / 0.8666 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.7098, allocations: 0.7082 MB / 0.8673 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 7.274e-05/0.7099, allocations: 12.89 kB / 0.8673 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.7099, allocations: 11.44 kB / 0.8673 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of SimCode: time 2.31e-07/0.7099, allocations: 0 / 0.8673 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of Templates: time 0.004099/0.714, allocations: 1.42 MB / 0.8687 GB, free: 10.76 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: