Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.691/2.691, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001321/0.001321, allocations: 189.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009878/0.0009876, allocations: 93.36 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006548/0.0006551, allocations: 18.94 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2773, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1.024/1.301, allocations: 231.9 MB / 1.205 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03623/1.338, allocations: 16.81 MB / 1.221 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/1.341, allocations: 68.12 kB / 1.221 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004065/1.345, allocations: 0.7205 MB / 1.222 GB, free: 68 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/1.358, allocations: 2.818 MB / 1.225 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006543/1.365, allocations: 1.366 MB / 1.226 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01134/1.376, allocations: 5.781 MB / 1.232 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/1.38, allocations: 1.301 MB / 1.233 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006474/1.386, allocations: 1.754 MB / 1.235 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004167/1.39, allocations: 1.404 MB / 1.236 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006631/1.391, allocations: 68 kB / 1.236 GB, free: 3.82 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007103/1.398, allocations: 1.547 MB / 1.238 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/1.4, allocations: 466.2 kB / 1.238 GB, free: 1.812 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/1.401, allocations: 432.6 kB / 1.239 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006541/1.408, allocations: 2.591 MB / 1.241 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/1.408, allocations: 0 / 1.241 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.176e-06/1.408, allocations: 0 / 1.241 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.36e-05/1.408, allocations: 0 / 1.241 GB, free: 14.79 MB / 0.7761 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.00681/1.415, allocations: 2.121 MB / 1.243 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/1.415, allocations: 8.031 kB / 1.243 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000667/1.415, allocations: 206.7 kB / 1.243 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/1.418, allocations: 381.1 kB / 1.244 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/1.423, allocations: 1.352 MB / 1.245 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.423, allocations: 106.7 kB / 1.245 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/1.423, allocations: 136 kB / 1.245 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004823/1.428, allocations: 1.503 MB / 1.247 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/1.428, allocations: 4 kB / 1.247 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/1.428, allocations: 59.98 kB / 1.247 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.428, allocations: 58.59 kB / 1.247 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004188/1.433, allocations: 1.15 MB / 1.248 GB, free: 7.523 MB / 0.7761 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.01522/1.448, allocations: 7.19 MB / 1.255 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/1.45, allocations: 0.829 MB / 1.256 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/1.452, allocations: 450.6 kB / 1.256 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/1.453, allocations: 0.7279 MB / 1.257 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.924e-05/1.453, allocations: 43.2 kB / 1.257 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=74): time 4.278e-06/1.454, allocations: 0 / 1.257 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74): time 0.0122/1.466, allocations: 2.13 MB / 1.259 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.466, allocations: 60.02 kB / 1.259 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.469, allocations: 1.293 MB / 1.26 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/1.469, allocations: 45.7 kB / 1.261 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009922/1.47, allocations: 0.7938 MB / 1.261 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/1.471, allocations: 260.3 kB / 1.262 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/1.471, allocations: 19.94 kB / 1.262 GB, free: 8.828 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.471, allocations: 341.9 kB / 1.262 GB, free: 8.488 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.472, allocations: 325.8 kB / 1.262 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.474, allocations: 0.5591 MB / 1.263 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/1.475, allocations: 418.8 kB / 1.263 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.475, allocations: 4 kB / 1.263 GB, free: 7.105 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004694/1.48, allocations: 1.267 MB / 1.264 GB, free: 5.824 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/1.48, allocations: 232.7 kB / 1.265 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.48, allocations: 4 kB / 1.265 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/1.483, allocations: 422 kB / 1.265 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.485, allocations: 155.8 kB / 1.265 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/1.488, allocations: 2.06 MB / 1.267 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/1.49, allocations: 187 kB / 1.267 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/1.49, allocations: 39.98 kB / 1.267 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.49, allocations: 8 kB / 1.267 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003527/1.494, allocations: 1.053 MB / 1.268 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.494, allocations: 7.953 kB / 1.268 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002713/1.497, allocations: 371.4 kB / 1.269 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.498, allocations: 159.8 kB / 1.269 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/1.504, allocations: 3.854 MB / 1.273 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.506, allocations: 179.1 kB / 1.273 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.506, allocations: 35.94 kB / 1.273 GB, free: 12.62 MB / 0.8073 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.001232/1.507, allocations: 472.8 kB / 1.273 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005523/1.508, allocations: 158.1 kB / 1.274 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/1.513, allocations: 1.206 MB / 1.275 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.513, allocations: 12 kB / 1.275 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.513, allocations: 0 / 1.275 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004418/1.518, allocations: 1.298 MB / 1.276 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00828/1.526, allocations: 2.774 MB / 1.279 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.526, allocations: 0 / 1.279 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/1.527, allocations: 111.9 kB / 1.279 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002713/1.53, allocations: 367.8 kB / 1.279 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.53, allocations: 16 kB / 1.279 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/1.532, allocations: 2.028 MB / 1.281 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.532, allocations: 4.062 kB / 1.281 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/1.536, allocations: 1.217 MB / 1.282 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.537, allocations: 343 kB / 1.283 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/1.538, allocations: 12 kB / 1.283 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.54, allocations: 136.4 kB / 1.283 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.54, allocations: 44.44 kB / 1.283 GB, free: 2.074 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.54, allocations: 35.98 kB / 1.283 GB, free: 2.039 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002016/1.542, allocations: 0.8661 MB / 1.284 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.52e-07/1.542, allocations: 3.938 kB / 1.284 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004173/1.546, allocations: 0.9038 MB / 1.285 GB, free: 272 kB / 0.8073 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.004864/1.551, allocations: 1.991 MB / 1.287 GB, free: 14.22 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005919/1.557, allocations: 1.669 MB / 1.288 GB, free: 12.53 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.557, allocations: 0 / 1.288 GB, free: 12.53 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/1.559, allocations: 478.7 kB / 1.289 GB, free: 12.06 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007205/1.566, allocations: 0.7942 MB / 1.289 GB, free: 11.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/1.594, allocations: 8.953 MB / 1.298 GB, free: 1.895 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/1.596, allocations: 1.348 MB / 1.299 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002363/1.598, allocations: 320.5 kB / 1.3 GB, free: 212 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/1.6, allocations: 0.636 MB / 1.3 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of SimCode: time 1.533e-06/1.6, allocations: 0 / 1.3 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.734, allocations: 44.34 MB / 1.344 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004236/1.735, allocations: 292.1 kB / 1.344 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.384/6.119, allocations: 0 / 1.344 GB, free: 3.352 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)