Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001241/0.001241, 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.001218/0.001218, allocations: 196.8 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.75 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3185, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.865/1.184, allocations: 254 MB / 1.316 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02196/1.206, allocations: 18.07 MB / 1.334 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004201/1.21, allocations: 84.91 kB / 1.334 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003397/1.213, allocations: 1.086 MB / 1.335 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01308/1.226, allocations: 3.838 MB / 1.339 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005821/1.232, allocations: 1.799 MB / 1.34 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008448/1.241, allocations: 5.057 MB / 1.345 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/1.244, allocations: 1.837 MB / 1.347 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005548/1.249, allocations: 2.153 MB / 1.349 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00485/1.254, allocations: 1.528 MB / 1.351 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007316/1.255, allocations: 185 kB / 1.351 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006284/1.261, allocations: 2.537 MB / 1.353 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000682/1.262, allocations: 0.5837 MB / 1.354 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/1.264, allocations: 1.116 MB / 1.355 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005607/1.269, allocations: 3.647 MB / 1.359 GB, free: 492 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.269, allocations: 0 / 1.359 GB, free: 492 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/1.269, allocations: 7.938 kB / 1.359 GB, free: 484 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.938e-05/1.269, allocations: 0 / 1.359 GB, free: 484 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.004013/1.273, allocations: 2.48 MB / 1.361 GB, free: 14.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/1.273, allocations: 11.53 kB / 1.361 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/1.275, allocations: 366.2 kB / 1.361 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/1.277, allocations: 1.412 MB / 1.363 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/1.277, allocations: 114.7 kB / 1.363 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.277, allocations: 141.4 kB / 1.363 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/1.28, allocations: 1.502 MB / 1.365 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.28, allocations: 0 / 1.365 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.28, allocations: 59.19 kB / 1.365 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/1.28, allocations: 55.08 kB / 1.365 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/1.282, allocations: 1.142 MB / 1.366 GB, free: 12.83 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.00781/1.29, allocations: 7.254 MB / 1.373 GB, free: 7.547 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.291, allocations: 0.816 MB / 1.374 GB, free: 7.156 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/1.292, allocations: 453 kB / 1.374 GB, free: 6.992 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009062/1.293, allocations: 0.7148 MB / 1.375 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/1.293, allocations: 40.5 kB / 1.375 GB, free: 6.188 MB / 1.014 GB Notification: Performance of pre-optimization done (n=74): time 2.404e-06/1.293, allocations: 4 kB / 1.375 GB, free: 6.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=74): time 0.006687/1.299, allocations: 2.077 MB / 1.377 GB, free: 5.184 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/1.299, allocations: 60.34 kB / 1.377 GB, free: 5.121 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/1.301, allocations: 1.322 MB / 1.378 GB, free: 4.402 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/1.301, allocations: 41.73 kB / 1.378 GB, free: 4.359 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/1.302, allocations: 0.8056 MB / 1.379 GB, free: 3.648 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/1.302, allocations: 261 kB / 1.379 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/1.302, allocations: 169.1 kB / 1.379 GB, free: 3.332 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.303, allocations: 338.1 kB / 1.38 GB, free: 3.004 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/1.303, allocations: 333 kB / 1.38 GB, free: 2.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/1.304, allocations: 0.5663 MB / 1.381 GB, free: 2.395 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.305, allocations: 0.8654 MB / 1.381 GB, free: 1.852 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.305, allocations: 0 / 1.381 GB, free: 1.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002534/1.308, allocations: 1.277 MB / 1.383 GB, free: 1.211 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.308, allocations: 5.5 kB / 1.383 GB, free: 1.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.308, allocations: 8.703 kB / 1.383 GB, free: 1.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/1.31, allocations: 408.7 kB / 1.383 GB, free: 1.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/1.311, allocations: 148.6 kB / 1.383 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/1.312, allocations: 2.053 MB / 1.385 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.313, allocations: 107.4 kB / 1.385 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/1.313, allocations: 40.77 kB / 1.385 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/1.314, allocations: 0.6329 MB / 1.386 GB, free: 14.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000729/1.315, allocations: 0.5567 MB / 1.387 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001296/1.316, allocations: 0.8574 MB / 1.387 GB, free: 13.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/1.316, allocations: 2.562 kB / 1.387 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002187/1.319, allocations: 1.206 MB / 1.389 GB, free: 13.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/1.319, allocations: 9.094 kB / 1.389 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/1.319, allocations: 5.969 kB / 1.389 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/1.32, allocations: 360.9 kB / 1.389 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/1.321, allocations: 151.4 kB / 1.389 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/1.324, allocations: 4.198 MB / 1.393 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.325, allocations: 89.27 kB / 1.393 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/1.325, allocations: 36.91 kB / 1.393 GB, free: 8.84 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.0002833/1.326, allocations: 238.3 kB / 1.394 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/1.326, allocations: 156.8 kB / 1.394 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/1.329, allocations: 1.204 MB / 1.395 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.329, allocations: 12.11 kB / 1.395 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/1.329, allocations: 0 / 1.395 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002372/1.331, allocations: 1.276 MB / 1.396 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004833/1.336, allocations: 2.753 MB / 1.399 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.336, allocations: 10.59 kB / 1.399 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/1.337, allocations: 106.5 kB / 1.399 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/1.338, allocations: 353.6 kB / 1.399 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/1.338, allocations: 18.05 kB / 1.399 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/1.34, allocations: 2.026 MB / 1.401 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.34, allocations: 2.438 kB / 1.401 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/1.342, allocations: 1.212 MB / 1.402 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/1.342, allocations: 325.6 kB / 1.403 GB, free: 2.078 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/1.343, allocations: 17.44 kB / 1.403 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/1.343, allocations: 41.27 kB / 1.403 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.344, allocations: 55.66 kB / 1.403 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/1.344, allocations: 33.92 kB / 1.403 GB, free: 2.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001149/1.345, allocations: 0.896 MB / 1.404 GB, free: 1.516 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.345, allocations: 0 / 1.404 GB, free: 1.516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002019/1.347, allocations: 0.8847 MB / 1.405 GB, free: 1.324 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.0007346/1.348, allocations: 389.3 kB / 1.405 GB, free: 1.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003403/1.351, allocations: 1.715 MB / 1.407 GB, free: 272 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.351, allocations: 384 / 1.407 GB, free: 272 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009636/1.352, allocations: 476.5 kB / 1.407 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/1.356, allocations: 0.7929 MB / 1.408 GB, free: 15.46 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/1.359, allocations: 2.699 MB / 1.411 GB, free: 12.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/1.36, allocations: 1.34 MB / 1.412 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001304/1.362, allocations: 327.7 kB / 1.412 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/1.362, allocations: 103.4 kB / 1.412 GB, free: 10.93 MB / 1.045 GB Notification: Performance of SimCode: time 1.102e-06/1.362, allocations: 0 / 1.412 GB, free: 10.93 MB / 1.045 GB Notification: Performance of Templates: time 0.0535/1.415, allocations: 32.55 MB / 1.444 GB, free: 10.89 MB / 1.076 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)