Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001479/0.001479, allocations: 103.1 kB / 16.36 MB, free: 6.305 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.001677/0.001677, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.548/1.548, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.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.001449/0.001449, allocations: 75.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2713, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6585/0.9298, allocations: 149 MB / 0.9303 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.9315, allocations: 1.135 MB / 0.9314 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.9316, allocations: 5.281 kB / 0.9314 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.932, allocations: 50.92 kB / 0.9314 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008565/0.933, allocations: 307.3 kB / 0.9317 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.9334, allocations: 158.9 kB / 0.9319 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.9339, allocations: 230 kB / 0.9321 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.9341, allocations: 56.55 kB / 0.9322 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.9342, allocations: 51.83 kB / 0.9322 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.9343, allocations: 64.95 kB / 0.9323 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.9343, allocations: 12 kB / 0.9323 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006215/0.9349, allocations: 363.3 kB / 0.9326 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.935, allocations: 35.91 kB / 0.9327 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.9351, allocations: 63.66 kB / 0.9327 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.9356, allocations: 299 kB / 0.933 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9356, allocations: 0 / 0.933 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9356, allocations: 0 / 0.933 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.9356, allocations: 0 / 0.933 GB, free: 2.398 MB / 0.7169 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.0007141/0.9363, allocations: 469.8 kB / 0.9335 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9364, allocations: 8.031 kB / 0.9335 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.9367, allocations: 44.72 kB / 0.9335 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.937, allocations: 208.1 kB / 0.9337 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.937, allocations: 9.594 kB / 0.9337 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.937, allocations: 15.94 kB / 0.9337 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.9373, allocations: 109.6 kB / 0.9338 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.9373, allocations: 0.75 kB / 0.9338 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.9373, allocations: 4 kB / 0.9338 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.9373, allocations: 4 kB / 0.9338 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.9376, allocations: 91.94 kB / 0.9339 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.9383, allocations: 460.1 kB / 0.9344 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.9385, allocations: 94.48 kB / 0.9345 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.9387, allocations: 40.94 kB / 0.9345 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.9387, allocations: 0 / 0.9345 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.9387, allocations: 32.75 kB / 0.9345 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.9387, allocations: 0 / 0.9345 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004625/0.9392, allocations: 153.4 kB / 0.9347 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.9393, allocations: 59.34 kB / 0.9347 GB, free: 468 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.9394, allocations: 176.1 kB / 0.9349 GB, free: 284 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.9395, allocations: 29.7 kB / 0.9349 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.9396, allocations: 117.7 kB / 0.935 GB, free: 128 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.9396, allocations: 19.72 kB / 0.9351 GB, free: 108 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.9396, allocations: 21.7 kB / 0.9351 GB, free: 80 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9398, allocations: 330.8 kB / 0.9354 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.9399, allocations: 27.98 kB / 0.9354 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.94, allocations: 31.97 kB / 0.9355 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.9402, allocations: 72.83 kB / 0.9355 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9402, allocations: 0 / 0.9355 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002851/0.9405, allocations: 133.4 kB / 0.9356 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.9405, allocations: 4 kB / 0.9357 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9406, allocations: 0 / 0.9357 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.9406, allocations: 0 / 0.9357 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9407, allocations: 19.98 kB / 0.9357 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.9407, allocations: 0 / 0.9357 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.9408, allocations: 11.84 kB / 0.9357 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.9408, allocations: 8 kB / 0.9357 GB, free: 15.43 MB / 0.7325 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 0.0001006/0.9409, allocations: 121.8 kB / 0.9358 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.941, allocations: 11.91 kB / 0.9358 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.9413, allocations: 125.2 kB / 0.9359 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9413, allocations: 0 / 0.9359 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9413, allocations: 7.984 kB / 0.9359 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.9413, allocations: 0 / 0.9359 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.9416, allocations: 221.5 kB / 0.9362 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9416, allocations: 5.375 kB / 0.9362 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.921e-05/0.9417, allocations: 19.98 kB / 0.9362 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9417, allocations: 4 kB / 0.9362 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.9417, allocations: 4 kB / 0.9362 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9417, allocations: 1.406 kB / 0.9362 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9417, allocations: 0 / 0.9362 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.942, allocations: 211.2 kB / 0.9364 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.9421, allocations: 92.94 kB / 0.9365 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.9421, allocations: 8 kB / 0.9365 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.9422, allocations: 7.984 kB / 0.9365 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.9423, allocations: 0.75 kB / 0.9365 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.9423, allocations: 4 kB / 0.9365 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000107/0.9424, allocations: 136.7 kB / 0.9366 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9424, allocations: 0 / 0.9366 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002438/0.9427, allocations: 27.84 kB / 0.9367 GB, free: 14.36 MB / 0.7325 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.0001741/0.9429, allocations: 107.2 kB / 0.9368 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.9431, allocations: 78.31 kB / 0.9368 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9432, allocations: 0 / 0.9368 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.9433, allocations: 39.97 kB / 0.9369 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.9437, allocations: 36.22 kB / 0.9369 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.9442, allocations: 287.1 kB / 0.9372 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.9445, allocations: 0.7119 MB / 0.9379 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.9446, allocations: 15.44 kB / 0.9379 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.9446, allocations: 0 / 0.9379 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.003314/0.9479, allocations: 1.653 MB / 0.9395 GB, free: 11.42 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)