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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 194.1 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.1 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 100.7 kB / 0.748 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 59.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2804, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8281/1.109, allocations: 251.4 MB / 1.228 GB, free: 44 kB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02811/1.137, allocations: 18.05 MB / 1.245 GB, free: 3.184 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00479/1.142, allocations: 71.28 kB / 1.245 GB, free: 3.156 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004087/1.146, allocations: 0.9103 MB / 1.246 GB, free: 2.645 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01508/1.161, allocations: 3.567 MB / 1.25 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006788/1.168, allocations: 1.635 MB / 1.251 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01435/1.182, allocations: 6.786 MB / 1.258 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004606/1.187, allocations: 1.539 MB / 1.26 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00716/1.194, allocations: 1.904 MB / 1.261 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005863/1.2, allocations: 1.556 MB / 1.263 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001086/1.201, allocations: 97.44 kB / 1.263 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0095/1.21, allocations: 2.729 MB / 1.266 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001928/1.212, allocations: 0.4991 MB / 1.266 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.004362/1.217, allocations: 1.012 MB / 1.267 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/1.227, allocations: 3.673 MB / 1.271 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/1.227, allocations: 0 / 1.271 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.228, allocations: 3.938 kB / 1.271 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.8e-05/1.228, allocations: 0 / 1.271 GB, free: 8.016 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005914/1.234, allocations: 2.453 MB / 1.273 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/1.234, allocations: 10.34 kB / 1.273 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/1.235, allocations: 368 kB / 1.273 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/1.238, allocations: 1.411 MB / 1.275 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-05/1.238, allocations: 103.3 kB / 1.275 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/1.239, allocations: 140.7 kB / 1.275 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/1.241, allocations: 1.493 MB / 1.277 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/1.241, allocations: 3.938 kB / 1.277 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.242, allocations: 57.78 kB / 1.277 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/1.242, allocations: 52.56 kB / 1.277 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/1.244, allocations: 1.127 MB / 1.278 GB, free: 4.27 MB / 0.8386 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.009138/1.253, allocations: 7.141 MB / 1.285 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/1.254, allocations: 0.828 MB / 1.286 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/1.255, allocations: 410.6 kB / 1.286 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008478/1.256, allocations: 0.7201 MB / 1.287 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/1.256, allocations: 44.28 kB / 1.287 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=73): time 2.595e-06/1.256, allocations: 0 / 1.287 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73): time 0.006553/1.263, allocations: 2.044 MB / 1.289 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/1.263, allocations: 56.06 kB / 1.289 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/1.264, allocations: 1.305 MB / 1.29 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/1.265, allocations: 45.7 kB / 1.29 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005782/1.265, allocations: 0.7977 MB / 1.291 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/1.265, allocations: 256.3 kB / 1.291 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/1.266, allocations: 170.5 kB / 1.291 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.266, allocations: 341.9 kB / 1.292 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/1.266, allocations: 328.7 kB / 1.292 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008152/1.267, allocations: 0.5664 MB / 1.292 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/1.269, allocations: 0.8634 MB / 1.293 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.269, allocations: 4 kB / 1.293 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002507/1.271, allocations: 1.256 MB / 1.295 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.271, allocations: 4 kB / 1.295 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.271, allocations: 8 kB / 1.295 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/1.273, allocations: 407.2 kB / 1.295 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/1.274, allocations: 152.9 kB / 1.295 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/1.276, allocations: 2.047 MB / 1.297 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.277, allocations: 178.9 kB / 1.297 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/1.277, allocations: 39.98 kB / 1.297 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001245/1.278, allocations: 0.6268 MB / 1.298 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008147/1.279, allocations: 0.5551 MB / 1.298 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001293/1.281, allocations: 0.8595 MB / 1.299 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/1.281, allocations: 0 / 1.299 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.002289/1.283, allocations: 1.202 MB / 1.3 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.283, allocations: 11.94 kB / 1.3 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.283, allocations: 4 kB / 1.3 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/1.284, allocations: 354.2 kB / 1.301 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/1.285, allocations: 150 kB / 1.301 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/1.288, allocations: 3.85 MB / 1.305 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.29, allocations: 159.4 kB / 1.305 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/1.29, allocations: 36 kB / 1.305 GB, free: 7.48 MB / 0.8698 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,20), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002964/1.29, allocations: 228.7 kB / 1.305 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/1.291, allocations: 158.1 kB / 1.305 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/1.294, allocations: 1.204 MB / 1.306 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.294, allocations: 8 kB / 1.306 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.294, allocations: 0 / 1.306 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002371/1.296, allocations: 1.285 MB / 1.308 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/1.301, allocations: 2.636 MB / 1.31 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.301, allocations: 11.97 kB / 1.31 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/1.302, allocations: 95.89 kB / 1.31 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/1.303, allocations: 360.1 kB / 1.311 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/1.303, allocations: 16 kB / 1.311 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/1.305, allocations: 2.028 MB / 1.313 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.305, allocations: 4 kB / 1.313 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/1.308, allocations: 2.449 MB / 1.315 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007744/1.309, allocations: 326.9 kB / 1.315 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.309, allocations: 24 kB / 1.315 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009716/1.31, allocations: 105.8 kB / 1.316 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.31, allocations: 60.36 kB / 1.316 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/1.31, allocations: 27.98 kB / 1.316 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00123/1.312, allocations: 0.8855 MB / 1.316 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.312, allocations: 0 / 1.316 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003046/1.315, allocations: 0.9078 MB / 1.317 GB, free: 10.28 MB / 0.8855 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 (48): * Single equations (assignments): 43 * 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.0009529/1.316, allocations: 377.4 kB / 1.318 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003607/1.319, allocations: 1.634 MB / 1.319 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.319, allocations: 0 / 1.319 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009943/1.32, allocations: 465.8 kB / 1.32 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/1.325, allocations: 0.7961 MB / 1.321 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/1.331, allocations: 3.717 MB / 1.324 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.332, allocations: 1.369 MB / 1.326 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001668/1.333, allocations: 319.8 kB / 1.326 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/1.334, allocations: 99.42 kB / 1.326 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of SimCode: time 9.62e-07/1.334, allocations: 4 kB / 1.326 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of Templates: time 0.05642/1.39, allocations: 32.03 MB / 1.357 GB, free: 1.672 MB / 0.9167 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)