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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001264/0.001264, allocations: 193.3 kB / 16.14 MB, free: 6.703 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.519/1.519, allocations: 205.1 MB / 222 MB, free: 4.738 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.758/1.758, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001316/0.001316, allocations: 60.94 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2555, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7678/1.023, allocations: 251.5 MB / 1.028 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04021/1.064, allocations: 18.06 MB / 1.046 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006833/1.071, allocations: 69.78 kB / 1.046 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005843/1.077, allocations: 0.9092 MB / 1.047 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02246/1.099, allocations: 3.578 MB / 1.05 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00612/1.105, allocations: 1.642 MB / 1.052 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009825/1.115, allocations: 6.774 MB / 1.059 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004073/1.119, allocations: 1.556 MB / 1.06 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/1.125, allocations: 1.898 MB / 1.062 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004561/1.13, allocations: 1.552 MB / 1.063 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009436/1.131, allocations: 95.28 kB / 1.064 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008185/1.139, allocations: 2.739 MB / 1.066 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/1.141, allocations: 0.5022 MB / 1.067 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003451/1.144, allocations: 1.014 MB / 1.068 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.009814/1.154, allocations: 3.7 MB / 1.071 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.154, allocations: 0 / 1.071 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.357e-06/1.154, allocations: 0 / 1.071 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001555/1.154, allocations: 0 / 1.071 GB, free: 10.88 MB / 0.7794 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.008574/1.163, allocations: 2.479 MB / 1.074 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.163, allocations: 8.031 kB / 1.074 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/1.165, allocations: 377 kB / 1.074 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/1.169, allocations: 1.413 MB / 1.075 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.169, allocations: 102.7 kB / 1.076 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003835/1.17, allocations: 143.9 kB / 1.076 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/1.173, allocations: 1.503 MB / 1.077 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/1.173, allocations: 7.938 kB / 1.077 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/1.174, allocations: 56 kB / 1.077 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.319e-05/1.174, allocations: 54.62 kB / 1.077 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/1.176, allocations: 1.142 MB / 1.078 GB, free: 3.422 MB / 0.7794 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.01045/1.187, allocations: 7.18 MB / 1.085 GB, free: 11.67 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/1.188, allocations: 0.8249 MB / 1.086 GB, free: 10.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/1.189, allocations: 434.6 kB / 1.087 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009728/1.19, allocations: 0.7162 MB / 1.087 GB, free: 9.527 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/1.19, allocations: 47.22 kB / 1.087 GB, free: 9.473 MB / 0.795 GB Notification: Performance of pre-optimization done (n=74): time 2.895e-06/1.19, allocations: 0 / 1.087 GB, free: 9.473 MB / 0.795 GB Notification: Performance of matching and sorting (n=74): time 0.007127/1.197, allocations: 2.076 MB / 1.089 GB, free: 7.324 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.197, allocations: 60.06 kB / 1.089 GB, free: 7.254 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/1.2, allocations: 1.301 MB / 1.091 GB, free: 5.941 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/1.2, allocations: 41.7 kB / 1.091 GB, free: 5.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/1.201, allocations: 0.7977 MB / 1.092 GB, free: 5.086 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/1.201, allocations: 256.3 kB / 1.092 GB, free: 4.832 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/1.202, allocations: 174.5 kB / 1.092 GB, free: 4.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.202, allocations: 342 kB / 1.092 GB, free: 4.312 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006821/1.202, allocations: 336.7 kB / 1.093 GB, free: 3.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009161/1.203, allocations: 0.5674 MB / 1.093 GB, free: 3.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/1.205, allocations: 0.8673 MB / 1.094 GB, free: 2.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.205, allocations: 4 kB / 1.094 GB, free: 2.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00297/1.208, allocations: 1.271 MB / 1.095 GB, free: 1.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.208, allocations: 8.031 kB / 1.095 GB, free: 1.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.208, allocations: 8 kB / 1.095 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/1.21, allocations: 406 kB / 1.096 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/1.211, allocations: 155.7 kB / 1.096 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/1.212, allocations: 2.054 MB / 1.098 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.214, allocations: 184.7 kB / 1.098 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/1.214, allocations: 36 kB / 1.098 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001275/1.215, allocations: 0.6385 MB / 1.099 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000785/1.216, allocations: 0.5512 MB / 1.099 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001353/1.218, allocations: 0.8595 MB / 1.1 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/1.218, allocations: 0 / 1.1 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002575/1.22, allocations: 1.201 MB / 1.101 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.22, allocations: 8 kB / 1.101 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.22, allocations: 4 kB / 1.101 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/1.222, allocations: 366.5 kB / 1.102 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/1.222, allocations: 151.8 kB / 1.102 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/1.226, allocations: 3.871 MB / 1.105 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.228, allocations: 155.4 kB / 1.106 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/1.228, allocations: 32 kB / 1.106 GB, free: 5.887 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003828/1.228, allocations: 240 kB / 1.106 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005679/1.229, allocations: 162.1 kB / 1.106 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/1.232, allocations: 1.174 MB / 1.107 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/1.232, allocations: 15.94 kB / 1.107 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.232, allocations: 0 / 1.107 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002362/1.235, allocations: 1.279 MB / 1.108 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005864/1.24, allocations: 2.754 MB / 1.111 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.24, allocations: 7.938 kB / 1.111 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/1.241, allocations: 108.1 kB / 1.111 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/1.242, allocations: 350.2 kB / 1.112 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/1.243, allocations: 16 kB / 1.112 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/1.244, allocations: 2.036 MB / 1.114 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/1.244, allocations: 7.938 kB / 1.114 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/1.247, allocations: 1.21 MB / 1.115 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/1.248, allocations: 331 kB / 1.115 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/1.248, allocations: 12 kB / 1.115 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.249, allocations: 118.5 kB / 1.115 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.249, allocations: 52.44 kB / 1.115 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/1.25, allocations: 27.98 kB / 1.115 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001627/1.251, allocations: 0.8817 MB / 1.116 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.61e-07/1.251, allocations: 8 kB / 1.116 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003409/1.255, allocations: 0.896 MB / 1.117 GB, free: 9.848 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/1.256, allocations: 375.3 kB / 1.117 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003689/1.259, allocations: 1.638 MB / 1.119 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.259, allocations: 4 kB / 1.119 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/1.26, allocations: 470.7 kB / 1.119 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/1.265, allocations: 0.7876 MB / 1.12 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/1.271, allocations: 3.33 MB / 1.123 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.273, allocations: 1.344 MB / 1.125 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001807/1.274, allocations: 323.7 kB / 1.125 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/1.275, allocations: 95.42 kB / 1.125 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/1.275, allocations: 0 / 1.125 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.05502/1.33, allocations: 31.23 MB / 1.156 GB, free: 2.582 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (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)