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.001242/0.001242, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.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.814/1.814, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.00224/0.00224, allocations: 78.3 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2888, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.606/0.8949, allocations: 149 MB / 0.9296 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.8964, allocations: 1.131 MB / 0.9307 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.8966, allocations: 0 / 0.9307 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.8973, allocations: 58.47 kB / 0.9308 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.8984, allocations: 305.5 kB / 0.9311 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.8988, allocations: 156.6 kB / 0.9312 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.8994, allocations: 224.9 kB / 0.9314 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.8995, allocations: 68.41 kB / 0.9315 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.8997, allocations: 59.02 kB / 0.9315 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.8998, allocations: 59.75 kB / 0.9316 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.8998, allocations: 14.53 kB / 0.9316 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.9005, allocations: 360.9 kB / 0.932 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.399e-05/0.9006, allocations: 32.89 kB / 0.932 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.9007, allocations: 61.58 kB / 0.932 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.9012, allocations: 294.2 kB / 0.9323 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9012, allocations: 0 / 0.9323 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9012, allocations: 0 / 0.9323 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.9012, allocations: 0.9375 kB / 0.9323 GB, free: 3.094 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.0007696/0.902, allocations: 474.7 kB / 0.9328 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.902, allocations: 10.41 kB / 0.9328 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.9023, allocations: 34.73 kB / 0.9328 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.9026, allocations: 221 kB / 0.933 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.9027, allocations: 6.625 kB / 0.933 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.9027, allocations: 11.94 kB / 0.9331 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.903, allocations: 118.6 kB / 0.9332 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.903, allocations: 0 / 0.9332 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.903, allocations: 3.562 kB / 0.9332 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.903, allocations: 2.875 kB / 0.9332 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.9033, allocations: 91.81 kB / 0.9333 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/0.904, allocations: 462.2 kB / 0.9337 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.9042, allocations: 87.92 kB / 0.9338 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.9043, allocations: 39.16 kB / 0.9338 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.9044, allocations: 2.5 kB / 0.9338 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.9044, allocations: 36.58 kB / 0.9339 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.9044, allocations: 0 / 0.9339 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000406/0.9048, allocations: 139 kB / 0.934 GB, free: 18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.9049, allocations: 57.97 kB / 0.934 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.905, allocations: 187.9 kB / 0.9342 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.905, allocations: 25.7 kB / 0.9343 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.9051, allocations: 124.5 kB / 0.9344 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.9051, allocations: 19.81 kB / 0.9344 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.9052, allocations: 18.09 kB / 0.9344 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9053, allocations: 329.2 kB / 0.9347 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.9054, allocations: 31.48 kB / 0.9348 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.9055, allocations: 35.88 kB / 0.9348 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.9057, allocations: 76.67 kB / 0.9349 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9057, allocations: 0 / 0.9349 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002449/0.906, allocations: 124.8 kB / 0.935 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.906, allocations: 5.25 kB / 0.935 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.906, allocations: 0 / 0.935 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.906, allocations: 2.625 kB / 0.935 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.9061, allocations: 17.05 kB / 0.935 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9062, allocations: 0 / 0.935 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.9063, allocations: 16.02 kB / 0.935 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.9063, allocations: 0.5625 kB / 0.935 GB, free: 17.3 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.0001087/0.9064, allocations: 128.4 kB / 0.9351 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.9064, allocations: 13.31 kB / 0.9352 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.9068, allocations: 126.7 kB / 0.9353 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.9068, allocations: 0.7188 kB / 0.9353 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9068, allocations: 4.688 kB / 0.9353 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9068, allocations: 0 / 0.9353 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.907, allocations: 227.5 kB / 0.9355 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.907, allocations: 0 / 0.9355 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.9071, allocations: 17.44 kB / 0.9355 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9071, allocations: 1.656 kB / 0.9355 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.9071, allocations: 0 / 0.9355 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.9071, allocations: 2.844 kB / 0.9355 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.9071, allocations: 1.203 kB / 0.9355 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.9074, allocations: 215.9 kB / 0.9357 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.9075, allocations: 93.44 kB / 0.9358 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.9075, allocations: 1.062 kB / 0.9358 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.9076, allocations: 9.219 kB / 0.9358 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.9077, allocations: 6.516 kB / 0.9358 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.9077, allocations: 0 / 0.9358 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001015/0.9078, allocations: 136.6 kB / 0.936 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9078, allocations: 4 kB / 0.936 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002373/0.9081, allocations: 21.38 kB / 0.936 GB, free: 16.61 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.00017/0.9082, allocations: 106.8 kB / 0.9361 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.9085, allocations: 83.56 kB / 0.9362 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9085, allocations: 4 kB / 0.9362 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.9086, allocations: 39.03 kB / 0.9362 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.9091, allocations: 40.44 kB / 0.9362 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.9095, allocations: 264 kB / 0.9365 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.9098, allocations: 0.7036 MB / 0.9372 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.9099, allocations: 13.73 kB / 0.9372 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.91, allocations: 13.66 kB / 0.9372 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.91, allocations: 0 / 0.9372 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.004279/0.9142, allocations: 1.588 MB / 0.9388 GB, free: 15.51 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)