Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008398/0.0008398, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.000881/0.000881, allocations: 177.3 kB / 15.95 MB, free: 216 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.272/1.272, 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 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004995/0.0004996, allocations: 15.75 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2442, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7465/0.9908, allocations: 209.9 MB / 0.9921 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02231/1.013, allocations: 15.77 MB / 1.007 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/1.016, allocations: 63.44 kB / 1.008 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003531/1.02, allocations: 0.9942 MB / 1.009 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/1.032, allocations: 3.218 MB / 1.012 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005733/1.038, allocations: 1.817 MB / 1.013 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006735/1.044, allocations: 3.011 MB / 1.016 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/1.047, allocations: 1.322 MB / 1.018 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/1.05, allocations: 1.562 MB / 1.019 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/1.052, allocations: 0.9773 MB / 1.02 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/1.052, allocations: 68.31 kB / 1.02 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/1.056, allocations: 1.301 MB / 1.021 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/1.056, allocations: 428.8 kB / 1.022 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000602/1.057, allocations: 435.4 kB / 1.022 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/1.06, allocations: 2.435 MB / 1.025 GB, free: 288 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/1.06, allocations: 0 / 1.025 GB, free: 288 kB / 0.7325 GB Notification: Performance of FrontEnd: time 4.168e-06/1.06, allocations: 0 / 1.025 GB, free: 288 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.781e-05/1.06, allocations: 3.938 kB / 1.025 GB, free: 284 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003887/1.064, allocations: 2.074 MB / 1.027 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.064, allocations: 11.12 kB / 1.027 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/1.066, allocations: 378.4 kB / 1.027 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/1.068, allocations: 1.325 MB / 1.028 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.464e-05/1.068, allocations: 107.9 kB / 1.028 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/1.068, allocations: 137.8 kB / 1.029 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/1.07, allocations: 1.496 MB / 1.03 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/1.07, allocations: 3.312 kB / 1.03 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.071, allocations: 58.69 kB / 1.03 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/1.071, allocations: 52.08 kB / 1.03 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/1.073, allocations: 1.157 MB / 1.031 GB, free: 11.89 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008288/1.081, allocations: 7.302 MB / 1.038 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.082, allocations: 0.8632 MB / 1.039 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006633/1.083, allocations: 0.5531 MB / 1.04 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.083, allocations: 45.12 kB / 1.04 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/1.083, allocations: 3.938 kB / 1.04 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.006851/1.09, allocations: 2.197 MB / 1.042 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.09, allocations: 60.06 kB / 1.042 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/1.092, allocations: 1.321 MB / 1.043 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/1.092, allocations: 45.7 kB / 1.043 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/1.093, allocations: 0.7938 MB / 1.044 GB, free: 68 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/1.093, allocations: 260.2 kB / 1.044 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/1.093, allocations: 20 kB / 1.044 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.093, allocations: 338 kB / 1.045 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/1.094, allocations: 329.8 kB / 1.045 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/1.095, allocations: 0.5677 MB / 1.046 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/1.095, allocations: 410.8 kB / 1.046 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.095, allocations: 4 kB / 1.046 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002428/1.098, allocations: 1.271 MB / 1.047 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.000779/1.098, allocations: 1.97 MB / 1.049 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.098, allocations: 4 kB / 1.049 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/1.1, allocations: 426 kB / 1.05 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/1.101, allocations: 155.8 kB / 1.05 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/1.103, allocations: 2.065 MB / 1.052 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.104, allocations: 186.9 kB / 1.052 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/1.104, allocations: 39.98 kB / 1.052 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/1.104, allocations: 4 kB / 1.052 GB, free: 7.664 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001818/1.106, allocations: 1.068 MB / 1.053 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.106, allocations: 4 kB / 1.053 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/1.107, allocations: 374.5 kB / 1.053 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/1.108, allocations: 155.8 kB / 1.054 GB, free: 6.059 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/1.112, allocations: 3.876 MB / 1.057 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.113, allocations: 175 kB / 1.057 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/1.113, allocations: 39.98 kB / 1.058 GB, free: 1.684 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0008894/1.114, allocations: 477.6 kB / 1.058 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/1.115, allocations: 150.1 kB / 1.058 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/1.117, allocations: 1.236 MB / 1.059 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.117, allocations: 8 kB / 1.059 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.117, allocations: 0 / 1.059 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002314/1.12, allocations: 1.321 MB / 1.061 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/1.125, allocations: 2.74 MB / 1.063 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.125, allocations: 4 kB / 1.063 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/1.125, allocations: 108.2 kB / 1.063 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/1.126, allocations: 370.1 kB / 1.064 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/1.127, allocations: 19.98 kB / 1.064 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/1.128, allocations: 2.043 MB / 1.066 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.128, allocations: 7.969 kB / 1.066 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/1.13, allocations: 1.402 MB / 1.067 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000955/1.131, allocations: 346.9 kB / 1.067 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/1.132, allocations: 19.98 kB / 1.068 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.133, allocations: 111.8 kB / 1.068 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.133, allocations: 60.39 kB / 1.068 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/1.133, allocations: 31.98 kB / 1.068 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001571/1.135, allocations: 0.8933 MB / 1.069 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.4e-07/1.135, allocations: 0 / 1.069 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0034/1.138, allocations: 0.9116 MB / 1.069 GB, free: 4.984 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009548/1.139, allocations: 383.8 kB / 1.07 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003633/1.143, allocations: 1.661 MB / 1.071 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.143, allocations: 0.5 kB / 1.071 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.144, allocations: 494.3 kB / 1.072 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/1.148, allocations: 0.7751 MB / 1.073 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/1.153, allocations: 3.25 MB / 1.076 GB, free: 14.36 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.154, allocations: 1.375 MB / 1.077 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001482/1.156, allocations: 335.3 kB / 1.078 GB, free: 12.62 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/1.156, allocations: 95.42 kB / 1.078 GB, free: 12.54 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/1.156, allocations: 0 / 1.078 GB, free: 12.54 MB / 0.795 GB Notification: Performance of Templates: time 0.04918/1.205, allocations: 30.56 MB / 1.107 GB, free: 14.37 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) Environment - environmentSimulation: