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.00086/0.00086, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007865/0.007865, allocations: 173.2 kB / 16.26 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.727/1.727, allocations: 205.4 MB / 222.4 MB, free: 5.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.65/1.65, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006037/0.0006035, allocations: 12.34 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3146, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8151/1.13, allocations: 144.8 MB / 0.9293 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001501/1.131, allocations: 1.133 MB / 0.9304 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/1.132, allocations: 6.906 kB / 0.9304 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/1.132, allocations: 50.22 kB / 0.9305 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007478/1.133, allocations: 275.2 kB / 0.9308 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/1.133, allocations: 151.9 kB / 0.9309 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/1.133, allocations: 229.2 kB / 0.9311 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/1.134, allocations: 58.34 kB / 0.9312 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/1.134, allocations: 36.48 kB / 0.9312 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/1.134, allocations: 53.95 kB / 0.9313 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/1.134, allocations: 1.344 kB / 0.9313 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/1.134, allocations: 404.3 kB / 0.9316 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/1.134, allocations: 28.08 kB / 0.9317 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/1.134, allocations: 77.19 kB / 0.9317 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/1.135, allocations: 292.4 kB / 0.932 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.135, allocations: 0 / 0.932 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.846e-06/1.135, allocations: 2.875 kB / 0.932 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.17e-06/1.135, allocations: 1.859 kB / 0.932 GB, free: 17.62 MB / 0.7325 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.0006053/1.136, allocations: 445.7 kB / 0.9325 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/1.136, allocations: 7.906 kB / 0.9325 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/1.136, allocations: 42.22 kB / 0.9325 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/1.136, allocations: 222 kB / 0.9327 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/1.136, allocations: 10.56 kB / 0.9327 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/1.136, allocations: 9.344 kB / 0.9327 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/1.136, allocations: 122.7 kB / 0.9328 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/1.136, allocations: 4 kB / 0.9329 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/1.136, allocations: 6.438 kB / 0.9329 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.136, allocations: 4.75 kB / 0.9329 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/1.137, allocations: 96.78 kB / 0.933 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/1.137, allocations: 458.8 kB / 0.9334 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/1.138, allocations: 95.67 kB / 0.9335 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/1.138, allocations: 47.05 kB / 0.9335 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/1.138, allocations: 0 / 0.9335 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.138, allocations: 33.28 kB / 0.9336 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/1.138, allocations: 0 / 0.9336 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004781/1.138, allocations: 167.7 kB / 0.9337 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.138, allocations: 51.41 kB / 0.9338 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/1.139, allocations: 177.1 kB / 0.9339 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/1.139, allocations: 29.7 kB / 0.934 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/1.139, allocations: 118.2 kB / 0.9341 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/1.139, allocations: 25.83 kB / 0.9341 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/1.139, allocations: 9.719 kB / 0.9341 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.139, allocations: 331.4 kB / 0.9344 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/1.139, allocations: 39.11 kB / 0.9345 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/1.139, allocations: 44.47 kB / 0.9345 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/1.14, allocations: 85.2 kB / 0.9346 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.14, allocations: 0 / 0.9346 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003142/1.14, allocations: 132 kB / 0.9347 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.14, allocations: 7.828 kB / 0.9347 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.14, allocations: 0 / 0.9347 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.14, allocations: 2.625 kB / 0.9347 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.14, allocations: 18.56 kB / 0.9347 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.14, allocations: 4 kB / 0.9347 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/1.14, allocations: 14.48 kB / 0.9348 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/1.14, allocations: 2.625 kB / 0.9348 GB, free: 15.83 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.0001328/1.14, allocations: 124.1 kB / 0.9349 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/1.14, allocations: 13.06 kB / 0.9349 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/1.141, allocations: 140.4 kB / 0.935 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.141, allocations: 2.625 kB / 0.935 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.141, allocations: 0 / 0.935 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.141, allocations: 1.859 kB / 0.935 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/1.141, allocations: 221.8 kB / 0.9352 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.141, allocations: 0.8125 kB / 0.9352 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/1.141, allocations: 20.92 kB / 0.9353 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/1.141, allocations: 3.328 kB / 0.9353 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.141, allocations: 0 / 0.9353 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.141, allocations: 0 / 0.9353 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.141, allocations: 1.703 kB / 0.9353 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/1.142, allocations: 236.8 kB / 0.9355 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/1.142, allocations: 88.98 kB / 0.9356 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/1.142, allocations: 4.344 kB / 0.9356 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/1.142, allocations: 10.64 kB / 0.9356 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/1.142, allocations: 4.453 kB / 0.9356 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/1.142, allocations: 0.75 kB / 0.9356 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001181/1.142, allocations: 141.5 kB / 0.9357 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.362e-06/1.142, allocations: 4 kB / 0.9357 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002374/1.142, allocations: 28.81 kB / 0.9358 GB, free: 15.12 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.0001929/1.142, allocations: 105.3 kB / 0.9359 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002745/1.143, allocations: 96.55 kB / 0.936 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.143, allocations: 0 / 0.936 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/1.143, allocations: 41.42 kB / 0.936 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/1.143, allocations: 37.42 kB / 0.936 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/1.144, allocations: 306.2 kB / 0.9363 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/1.144, allocations: 0.704 MB / 0.937 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.187e-05/1.144, allocations: 16.33 kB / 0.937 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/1.144, allocations: 12.69 kB / 0.937 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/1.144, allocations: 2.625 kB / 0.937 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.004231/1.149, allocations: 1.455 MB / 0.9385 GB, free: 14 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: