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.001292/0.001292, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.001556/0.001556, allocations: 177.3 kB / 15.95 MB, free: 208 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.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.624/1.624, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0005581/0.0005582, allocations: 16 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5594, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1668/0.7262, allocations: 125.9 MB / 0.8509 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.7275, allocations: 0.8536 MB / 0.8518 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.7276, allocations: 0 / 0.8518 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.7278, allocations: 35.8 kB / 0.8518 GB, free: 12.31 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.7283, allocations: 147.6 kB / 0.8519 GB, free: 12.16 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.7285, allocations: 91.81 kB / 0.852 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.7291, allocations: 231.4 kB / 0.8523 GB, free: 11.85 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.7292, allocations: 43.25 kB / 0.8523 GB, free: 11.8 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.7293, allocations: 35.86 kB / 0.8523 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.7294, allocations: 43.7 kB / 0.8524 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.7294, allocations: 8 kB / 0.8524 GB, free: 11.72 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003715/0.7298, allocations: 203.7 kB / 0.8526 GB, free: 11.52 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.7298, allocations: 19.92 kB / 0.8526 GB, free: 11.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.7299, allocations: 45.64 kB / 0.8526 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.7301, allocations: 167.4 kB / 0.8528 GB, free: 11.29 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7302, allocations: 0 / 0.8528 GB, free: 11.29 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7302, allocations: 0 / 0.8528 GB, free: 11.29 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7302, allocations: 4 kB / 0.8528 GB, free: 11.29 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.0006238/0.7308, allocations: 438.8 kB / 0.8532 GB, free: 10.81 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.7309, allocations: 8.031 kB / 0.8532 GB, free: 10.8 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.7312, allocations: 43.73 kB / 0.8533 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.7314, allocations: 205.9 kB / 0.8535 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.7315, allocations: 12 kB / 0.8535 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.7315, allocations: 8 kB / 0.8535 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.7318, allocations: 121.6 kB / 0.8536 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7318, allocations: 0 / 0.8536 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.7318, allocations: 11.95 kB / 0.8536 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.7318, allocations: 0 / 0.8536 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.7321, allocations: 103.9 kB / 0.8537 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.7328, allocations: 456.2 kB / 0.8541 GB, free: 9.766 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.733, allocations: 94.55 kB / 0.8542 GB, free: 9.664 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.7331, allocations: 0 / 0.8542 GB, free: 9.664 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.7331, allocations: 38.59 kB / 0.8543 GB, free: 9.617 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.7331, allocations: 0 / 0.8543 GB, free: 9.617 MB / 0.67 GB Notification: Performance of matching and sorting (n=7): time 0.0004632/0.7336, allocations: 161.5 kB / 0.8544 GB, free: 9.453 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.7336, allocations: 55.36 kB / 0.8545 GB, free: 9.387 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.7338, allocations: 176.4 kB / 0.8546 GB, free: 9.207 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.7338, allocations: 29.7 kB / 0.8547 GB, free: 9.172 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.7339, allocations: 123.9 kB / 0.8548 GB, free: 9.047 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.734, allocations: 23.84 kB / 0.8548 GB, free: 9.023 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.734, allocations: 4 kB / 0.8548 GB, free: 9.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7341, allocations: 318.8 kB / 0.8551 GB, free: 8.699 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.7342, allocations: 35.98 kB / 0.8552 GB, free: 8.664 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.7343, allocations: 39.97 kB / 0.8552 GB, free: 8.625 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.7344, allocations: 40.45 kB / 0.8552 GB, free: 8.586 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7344, allocations: 0 / 0.8552 GB, free: 8.586 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002742/0.7347, allocations: 133.4 kB / 0.8554 GB, free: 8.449 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7348, allocations: 10.19 kB / 0.8554 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.7348, allocations: 0 / 0.8554 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.7348, allocations: 0 / 0.8554 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.7349, allocations: 19.98 kB / 0.8554 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7349, allocations: 3.953 kB / 0.8554 GB, free: 8.418 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.803e-05/0.735, allocations: 23.92 kB / 0.8554 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.735, allocations: 0 / 0.8554 GB, free: 8.395 MB / 0.67 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 0.0001042/0.7352, allocations: 121.8 kB / 0.8555 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.7352, allocations: 11.81 kB / 0.8555 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.7355, allocations: 146.9 kB / 0.8557 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7355, allocations: 0 / 0.8557 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7356, allocations: 0 / 0.8557 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7356, allocations: 3.953 kB / 0.8557 GB, free: 8.102 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.7358, allocations: 217.6 kB / 0.8559 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7358, allocations: 0 / 0.8559 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.7359, allocations: 19.98 kB / 0.8559 GB, free: 7.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7359, allocations: 0 / 0.8559 GB, free: 7.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.736, allocations: 11.98 kB / 0.8559 GB, free: 7.809 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.736, allocations: 4 kB / 0.8559 GB, free: 7.805 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.736, allocations: 0 / 0.8559 GB, free: 7.805 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.7363, allocations: 219.2 kB / 0.8561 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.7364, allocations: 92.95 kB / 0.8562 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.7364, allocations: 7.984 kB / 0.8562 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.7365, allocations: 8 kB / 0.8562 GB, free: 7.449 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.7366, allocations: 3.984 kB / 0.8562 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.7366, allocations: 8 kB / 0.8563 GB, free: 7.438 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001116/0.7367, allocations: 136.2 kB / 0.8564 GB, free: 7.305 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7367, allocations: 0 / 0.8564 GB, free: 7.305 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002358/0.7369, allocations: 27.91 kB / 0.8564 GB, free: 7.277 MB / 0.67 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.0001862/0.7371, allocations: 107.2 kB / 0.8565 GB, free: 7.16 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.7374, allocations: 87.88 kB / 0.8566 GB, free: 7.074 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7374, allocations: 4 kB / 0.8566 GB, free: 7.07 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.7375, allocations: 43.97 kB / 0.8566 GB, free: 7.027 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.7379, allocations: 30.56 kB / 0.8567 GB, free: 7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.7385, allocations: 309.4 kB / 0.857 GB, free: 6.672 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.7388, allocations: 0.7199 MB / 0.8577 GB, free: 5.926 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 7.177e-05/0.7389, allocations: 16.88 kB / 0.8577 GB, free: 5.91 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.739, allocations: 11.44 kB / 0.8577 GB, free: 5.902 MB / 0.67 GB Notification: Performance of SimCode: time 2.21e-07/0.739, allocations: 0 / 0.8577 GB, free: 5.902 MB / 0.67 GB Notification: Performance of Templates: time 0.004213/0.7432, allocations: 1.418 MB / 0.8591 GB, free: 4.504 MB / 0.67 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: