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.599/2.599, allocations: 287.3 MB / 302.3 MB, free: 8.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.001673/0.001673, allocations: 198.2 kB / 370.8 MB, free: 10.84 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.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.00111/0.00111, allocations: 97.91 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006593/0.0006594, allocations: 17.56 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2388, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1.117/1.356, allocations: 209.9 MB / 1.183 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03576/1.391, allocations: 15.77 MB / 1.199 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003703/1.395, allocations: 67.84 kB / 1.199 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005178/1.4, allocations: 0.9858 MB / 1.2 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/1.415, allocations: 3.212 MB / 1.203 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.008482/1.424, allocations: 1.837 MB / 1.205 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00836/1.432, allocations: 3.011 MB / 1.208 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003211/1.435, allocations: 1.316 MB / 1.209 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005607/1.441, allocations: 1.565 MB / 1.21 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/1.444, allocations: 0.9707 MB / 1.211 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006324/1.445, allocations: 69.88 kB / 1.211 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/1.451, allocations: 1.302 MB / 1.213 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/1.452, allocations: 424.9 kB / 1.213 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/1.453, allocations: 433 kB / 1.213 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005993/1.459, allocations: 2.438 MB / 1.216 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/1.459, allocations: 0 / 1.216 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.016e-06/1.459, allocations: 0 / 1.216 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001041/1.459, allocations: 0 / 1.216 GB, free: 6.129 MB / 0.7448 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.006636/1.466, allocations: 2.082 MB / 1.218 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.466, allocations: 8.031 kB / 1.218 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006166/1.467, allocations: 198.8 kB / 1.218 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/1.469, allocations: 389 kB / 1.218 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/1.473, allocations: 1.329 MB / 1.22 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/1.474, allocations: 102.7 kB / 1.22 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/1.474, allocations: 140 kB / 1.22 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/1.478, allocations: 1.495 MB / 1.221 GB, free: 220 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/1.478, allocations: 7.938 kB / 1.221 GB, free: 212 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/1.479, allocations: 60 kB / 1.222 GB, free: 152 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.586e-05/1.479, allocations: 58.58 kB / 1.222 GB, free: 92 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/1.483, allocations: 1.146 MB / 1.223 GB, free: 14.94 MB / 0.7605 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.0144/1.497, allocations: 7.289 MB / 1.23 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/1.5, allocations: 0.8652 MB / 1.231 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.501, allocations: 0.5539 MB / 1.231 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.501, allocations: 43.22 kB / 1.231 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 5.621e-06/1.501, allocations: 4 kB / 1.231 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.01308/1.514, allocations: 2.194 MB / 1.233 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/1.514, allocations: 64.02 kB / 1.233 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/1.517, allocations: 1.313 MB / 1.235 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/1.518, allocations: 41.7 kB / 1.235 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009784/1.519, allocations: 0.7977 MB / 1.236 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/1.519, allocations: 260.2 kB / 1.236 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/1.519, allocations: 20 kB / 1.236 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.519, allocations: 341.9 kB / 1.236 GB, free: 312 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.521, allocations: 325.8 kB / 1.236 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/1.522, allocations: 0.5715 MB / 1.237 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/1.523, allocations: 418.8 kB / 1.237 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.523, allocations: 4 kB / 1.237 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004622/1.528, allocations: 1.267 MB / 1.239 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009477/1.529, allocations: 1.974 MB / 1.241 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/1.529, allocations: 4 kB / 1.241 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003546/1.533, allocations: 422.1 kB / 1.241 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.534, allocations: 159.7 kB / 1.241 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/1.537, allocations: 2.049 MB / 1.243 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.54, allocations: 187 kB / 1.243 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/1.54, allocations: 39.98 kB / 1.243 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.54, allocations: 4 kB / 1.243 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003641/1.543, allocations: 1.064 MB / 1.244 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/1.544, allocations: 8 kB / 1.244 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/1.546, allocations: 374.5 kB / 1.245 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.548, allocations: 163.8 kB / 1.245 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005572/1.553, allocations: 3.87 MB / 1.249 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/1.556, allocations: 183 kB / 1.249 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.556, allocations: 39.98 kB / 1.249 GB, free: 2.523 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.001225/1.557, allocations: 466.6 kB / 1.249 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005106/1.558, allocations: 158.1 kB / 1.249 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00506/1.563, allocations: 1.227 MB / 1.251 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/1.563, allocations: 8 kB / 1.251 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.563, allocations: 0 / 1.251 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004526/1.567, allocations: 1.322 MB / 1.252 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007798/1.575, allocations: 2.743 MB / 1.255 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.575, allocations: 4 kB / 1.255 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/1.576, allocations: 112.2 kB / 1.255 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/1.579, allocations: 378.3 kB / 1.255 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/1.579, allocations: 20 kB / 1.255 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/1.582, allocations: 2.036 MB / 1.257 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.582, allocations: 4 kB / 1.257 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/1.585, allocations: 1.405 MB / 1.259 GB, free: 8.203 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.587, allocations: 350.8 kB / 1.259 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/1.587, allocations: 12 kB / 1.259 GB, free: 7.828 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.589, allocations: 119.8 kB / 1.259 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/1.589, allocations: 56.48 kB / 1.259 GB, free: 7.656 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.589, allocations: 27.98 kB / 1.259 GB, free: 7.629 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002091/1.591, allocations: 0.8895 MB / 1.26 GB, free: 6.742 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.82e-07/1.592, allocations: 0 / 1.26 GB, free: 6.742 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004277/1.596, allocations: 0.9155 MB / 1.261 GB, free: 5.824 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (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 Backend phase and start with SimCode phase: time 0.005334/1.601, allocations: 2.902 MB / 1.264 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005911/1.607, allocations: 1.669 MB / 1.265 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.607, allocations: 0 / 1.265 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.609, allocations: 482.8 kB / 1.266 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007004/1.616, allocations: 0.7876 MB / 1.267 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.628, allocations: 7.328 MB / 1.274 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/1.63, allocations: 1.391 MB / 1.275 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002423/1.632, allocations: 319.4 kB / 1.275 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/1.633, allocations: 0.6437 MB / 1.276 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of SimCode: time 1.283e-06/1.634, allocations: 0 / 1.276 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.764, allocations: 43.95 MB / 1.319 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000443/1.764, allocations: 271 kB / 1.319 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.266/6.03, allocations: 0 / 1.319 GB, free: 10.17 MB / 0.8542 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)