Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001091/0.00109, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 196.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3209, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.9155/1.236, allocations: 254 MB / 1.316 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02364/1.26, allocations: 18.08 MB / 1.334 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004337/1.265, allocations: 81.09 kB / 1.334 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003618/1.268, allocations: 1.093 MB / 1.335 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/1.28, allocations: 3.827 MB / 1.339 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005148/1.285, allocations: 1.801 MB / 1.34 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008012/1.293, allocations: 5.066 MB / 1.345 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/1.297, allocations: 1.828 MB / 1.347 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005649/1.302, allocations: 2.155 MB / 1.349 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/1.305, allocations: 1.527 MB / 1.351 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004823/1.306, allocations: 182.8 kB / 1.351 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006718/1.313, allocations: 2.537 MB / 1.353 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008769/1.313, allocations: 0.5917 MB / 1.354 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002218/1.316, allocations: 1.113 MB / 1.355 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007493/1.323, allocations: 3.649 MB / 1.359 GB, free: 500 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.323, allocations: 3.188 kB / 1.359 GB, free: 500 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.323, allocations: 3.938 kB / 1.359 GB, free: 496 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.295e-05/1.323, allocations: 0 / 1.359 GB, free: 496 kB / 0.9981 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.005115/1.328, allocations: 2.48 MB / 1.361 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.328, allocations: 7.906 kB / 1.361 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/1.33, allocations: 368.1 kB / 1.361 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/1.333, allocations: 1.416 MB / 1.363 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.802e-05/1.333, allocations: 108.2 kB / 1.363 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/1.333, allocations: 139.6 kB / 1.363 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/1.335, allocations: 1.507 MB / 1.365 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/1.336, allocations: 4.812 kB / 1.365 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.336, allocations: 56.88 kB / 1.365 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/1.336, allocations: 57.48 kB / 1.365 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/1.338, allocations: 1.138 MB / 1.366 GB, free: 12.84 MB / 1.014 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.008506/1.346, allocations: 7.245 MB / 1.373 GB, free: 7.562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/1.348, allocations: 0.8224 MB / 1.374 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007198/1.348, allocations: 446.3 kB / 1.374 GB, free: 7.012 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009285/1.349, allocations: 0.7169 MB / 1.375 GB, free: 6.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/1.349, allocations: 42.41 kB / 1.375 GB, free: 6.199 MB / 1.014 GB Notification: Performance of pre-optimization done (n=74): time 2.825e-06/1.349, allocations: 2.438 kB / 1.375 GB, free: 6.199 MB / 1.014 GB Notification: Performance of matching and sorting (n=74): time 0.006589/1.356, allocations: 2.079 MB / 1.377 GB, free: 5.219 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/1.356, allocations: 60.69 kB / 1.377 GB, free: 5.156 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.358, allocations: 1.321 MB / 1.378 GB, free: 4.438 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/1.358, allocations: 39.05 kB / 1.378 GB, free: 4.398 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006253/1.359, allocations: 0.8042 MB / 1.379 GB, free: 3.688 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/1.359, allocations: 256.7 kB / 1.379 GB, free: 3.473 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/1.359, allocations: 168.7 kB / 1.379 GB, free: 3.375 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.359, allocations: 344.8 kB / 1.38 GB, free: 3.043 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/1.36, allocations: 331.1 kB / 1.38 GB, free: 2.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/1.361, allocations: 0.5611 MB / 1.381 GB, free: 2.438 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/1.362, allocations: 0.8668 MB / 1.381 GB, free: 1.895 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.362, allocations: 2.375 kB / 1.381 GB, free: 1.895 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002632/1.365, allocations: 1.276 MB / 1.383 GB, free: 1.254 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.365, allocations: 7.312 kB / 1.383 GB, free: 1.254 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.365, allocations: 5.375 kB / 1.383 GB, free: 1.254 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/1.367, allocations: 410.7 kB / 1.383 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/1.367, allocations: 149.3 kB / 1.383 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/1.369, allocations: 2.061 MB / 1.385 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/1.37, allocations: 109.1 kB / 1.385 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/1.37, allocations: 41.05 kB / 1.385 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001164/1.371, allocations: 0.6367 MB / 1.386 GB, free: 14.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007243/1.372, allocations: 0.5522 MB / 1.387 GB, free: 14.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001271/1.373, allocations: 0.8569 MB / 1.387 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/1.373, allocations: 0 / 1.387 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002271/1.376, allocations: 1.211 MB / 1.389 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.376, allocations: 8.562 kB / 1.389 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.376, allocations: 4.344 kB / 1.389 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/1.377, allocations: 360.6 kB / 1.389 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/1.378, allocations: 153.3 kB / 1.389 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/1.381, allocations: 4.192 MB / 1.393 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.383, allocations: 88.36 kB / 1.393 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/1.383, allocations: 37.97 kB / 1.393 GB, free: 8.875 MB / 1.029 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.0003112/1.383, allocations: 239.7 kB / 1.394 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/1.383, allocations: 155.3 kB / 1.394 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/1.386, allocations: 1.196 MB / 1.395 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.386, allocations: 7.938 kB / 1.395 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.386, allocations: 0 / 1.395 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002342/1.388, allocations: 1.291 MB / 1.396 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/1.393, allocations: 2.753 MB / 1.399 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.393, allocations: 1.375 kB / 1.399 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/1.394, allocations: 103.5 kB / 1.399 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/1.395, allocations: 354.6 kB / 1.399 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/1.395, allocations: 27.36 kB / 1.399 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/1.397, allocations: 2.025 MB / 1.401 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.397, allocations: 4.203 kB / 1.401 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.399, allocations: 1.214 MB / 1.402 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/1.399, allocations: 327.8 kB / 1.403 GB, free: 2.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.399, allocations: 19.28 kB / 1.403 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/1.4, allocations: 42.02 kB / 1.403 GB, free: 2.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.4, allocations: 50.47 kB / 1.403 GB, free: 2.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/1.4, allocations: 34.02 kB / 1.403 GB, free: 2.039 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001199/1.402, allocations: 0.8929 MB / 1.404 GB, free: 1.551 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.21e-07/1.402, allocations: 5.469 kB / 1.404 GB, free: 1.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002185/1.404, allocations: 0.8884 MB / 1.405 GB, free: 1.352 MB / 1.029 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.0008082/1.405, allocations: 381.6 kB / 1.405 GB, free: 1.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003605/1.408, allocations: 1.716 MB / 1.407 GB, free: 308 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.408, allocations: 2.906 kB / 1.407 GB, free: 308 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/1.409, allocations: 477.6 kB / 1.407 GB, free: 104 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/1.413, allocations: 0.7828 MB / 1.408 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/1.417, allocations: 2.697 MB / 1.411 GB, free: 12.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.418, allocations: 1.348 MB / 1.412 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001388/1.42, allocations: 327 kB / 1.412 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/1.42, allocations: 95.42 kB / 1.412 GB, free: 10.97 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/1.42, allocations: 0 / 1.412 GB, free: 10.97 MB / 1.045 GB Notification: Performance of Templates: time 0.05279/1.473, allocations: 32.55 MB / 1.444 GB, free: 10.93 MB / 1.076 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)