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.0007845/0.0007845, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0007576/0.0007575, allocations: 172.7 kB / 15.95 MB, free: 208 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.354/1.354, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.602/1.602, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0008423/0.0008423, allocations: 16.84 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2261, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7328/0.959, allocations: 231.9 MB / 1.014 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02383/0.9828, allocations: 16.79 MB / 1.03 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.9865, allocations: 68.25 kB / 1.03 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.9897, allocations: 0.7292 MB / 1.031 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.9998, allocations: 2.808 MB / 1.034 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004967/1.005, allocations: 1.375 MB / 1.035 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008259/1.013, allocations: 5.791 MB / 1.041 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/1.016, allocations: 1.293 MB / 1.042 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004542/1.02, allocations: 1.763 MB / 1.044 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/1.024, allocations: 1.394 MB / 1.045 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005591/1.024, allocations: 67.44 kB / 1.045 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/1.03, allocations: 1.551 MB / 1.047 GB, free: 80 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/1.031, allocations: 462 kB / 1.047 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/1.032, allocations: 431.2 kB / 1.047 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/1.037, allocations: 2.584 MB / 1.05 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.037, allocations: 0 / 1.05 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.515e-06/1.037, allocations: 2.812 kB / 1.05 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001446/1.037, allocations: 0 / 1.05 GB, free: 13.81 MB / 0.7637 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.005107/1.042, allocations: 2.126 MB / 1.052 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.042, allocations: 8.938 kB / 1.052 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/1.044, allocations: 382.1 kB / 1.052 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/1.047, allocations: 1.353 MB / 1.054 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/1.047, allocations: 110.7 kB / 1.054 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/1.047, allocations: 136 kB / 1.054 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/1.05, allocations: 1.503 MB / 1.055 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.05, allocations: 7.938 kB / 1.055 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.05, allocations: 56 kB / 1.056 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/1.05, allocations: 58.62 kB / 1.056 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/1.053, allocations: 1.15 MB / 1.057 GB, free: 7.879 MB / 0.7637 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.008957/1.062, allocations: 7.19 MB / 1.064 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.063, allocations: 0.8372 MB / 1.065 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/1.064, allocations: 446.6 kB / 1.065 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008488/1.064, allocations: 0.7279 MB / 1.066 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/1.065, allocations: 47.22 kB / 1.066 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=74): time 3.707e-06/1.065, allocations: 0 / 1.066 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74): time 0.006/1.071, allocations: 2.129 MB / 1.068 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.071, allocations: 64.05 kB / 1.068 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.073, allocations: 1.293 MB / 1.069 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.073, allocations: 45.7 kB / 1.069 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/1.073, allocations: 0.7938 MB / 1.07 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/1.074, allocations: 252.3 kB / 1.07 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/1.074, allocations: 20 kB / 1.07 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.074, allocations: 337.9 kB / 1.071 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005858/1.074, allocations: 329.8 kB / 1.071 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007326/1.075, allocations: 0.5634 MB / 1.071 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/1.076, allocations: 418.8 kB / 1.072 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/1.076, allocations: 0 / 1.072 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002431/1.078, allocations: 1.275 MB / 1.073 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/1.078, allocations: 228.4 kB / 1.073 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.078, allocations: 4 kB / 1.073 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/1.08, allocations: 418 kB / 1.074 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/1.081, allocations: 159.8 kB / 1.074 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/1.082, allocations: 2.05 MB / 1.076 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.084, allocations: 191 kB / 1.076 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/1.084, allocations: 39.94 kB / 1.076 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/1.084, allocations: 4 kB / 1.076 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001888/1.086, allocations: 1.053 MB / 1.077 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.086, allocations: 4 kB / 1.077 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/1.087, allocations: 370.5 kB / 1.077 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/1.088, allocations: 171.6 kB / 1.078 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/1.091, allocations: 3.86 MB / 1.081 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.093, allocations: 175.1 kB / 1.082 GB, free: 13.01 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.093, allocations: 40 kB / 1.082 GB, free: 12.97 MB / 0.795 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 (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.000815/1.094, allocations: 464.8 kB / 1.082 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/1.094, allocations: 154.1 kB / 1.082 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/1.097, allocations: 1.217 MB / 1.083 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.097, allocations: 8 kB / 1.083 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.097, allocations: 0 / 1.083 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/1.099, allocations: 1.306 MB / 1.085 GB, free: 9.707 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/1.104, allocations: 2.762 MB / 1.087 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.104, allocations: 7.938 kB / 1.087 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/1.104, allocations: 104.1 kB / 1.087 GB, free: 6.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/1.106, allocations: 378.2 kB / 1.088 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/1.106, allocations: 16 kB / 1.088 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/1.107, allocations: 2.035 MB / 1.09 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.107, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/1.109, allocations: 1.214 MB / 1.091 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008095/1.11, allocations: 342.9 kB / 1.091 GB, free: 2.609 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/1.11, allocations: 15.95 kB / 1.091 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.111, allocations: 123.7 kB / 1.091 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.112, allocations: 48.48 kB / 1.091 GB, free: 2.426 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/1.112, allocations: 31.98 kB / 1.092 GB, free: 2.395 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001381/1.113, allocations: 0.8738 MB / 1.092 GB, free: 1.523 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.9e-07/1.113, allocations: 0 / 1.092 GB, free: 1.523 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003081/1.116, allocations: 0.9093 MB / 1.093 GB, free: 0.6133 MB / 0.795 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 (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 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000891/1.117, allocations: 369.4 kB / 1.094 GB, free: 264 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003395/1.12, allocations: 1.669 MB / 1.095 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.12, allocations: 0 / 1.095 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009762/1.121, allocations: 478.7 kB / 1.096 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/1.125, allocations: 0.7924 MB / 1.096 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/1.131, allocations: 3.228 MB / 1.1 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.132, allocations: 1.344 MB / 1.101 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001459/1.133, allocations: 330.5 kB / 1.101 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/1.133, allocations: 95.38 kB / 1.101 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of SimCode: time 7.71e-07/1.133, allocations: 4 kB / 1.101 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of Templates: time 0.04879/1.182, allocations: 30.19 MB / 1.131 GB, free: 10.44 MB / 0.8419 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: