Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 179.5 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.212/2.212, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009442/0.0009441, allocations: 82.36 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003718, allocations: 12.89 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 106.4 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8939/1.142, allocations: 248.4 MB / 1.144 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02732/1.17, allocations: 17.92 MB / 1.161 GB, free: 124 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004332/1.174, allocations: 68.03 kB / 1.161 GB, free: 124 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003763/1.178, allocations: 0.9062 MB / 1.162 GB, free: 108 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01502/1.193, allocations: 3.585 MB / 1.165 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0069/1.2, allocations: 1.658 MB / 1.167 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01261/1.213, allocations: 6.844 MB / 1.174 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/1.216, allocations: 1.516 MB / 1.175 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006108/1.222, allocations: 1.889 MB / 1.177 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004678/1.227, allocations: 1.481 MB / 1.179 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003901/1.227, allocations: 70.09 kB / 1.179 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007462/1.235, allocations: 2.712 MB / 1.181 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008898/1.236, allocations: 473.7 kB / 1.182 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002212/1.238, allocations: 0.9964 MB / 1.183 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007775/1.246, allocations: 3.64 MB / 1.186 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.246, allocations: 0 / 1.186 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.186e-06/1.246, allocations: 4 kB / 1.186 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.269e-05/1.246, allocations: 2.469 kB / 1.186 GB, free: 5.691 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.00456/1.25, allocations: 2.102 MB / 1.188 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/1.25, allocations: 13.34 kB / 1.188 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002673/1.251, allocations: 205.2 kB / 1.189 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/1.252, allocations: 376.9 kB / 1.189 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/1.255, allocations: 1.425 MB / 1.19 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-05/1.255, allocations: 108.3 kB / 1.19 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/1.255, allocations: 141.9 kB / 1.191 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/1.258, allocations: 1.524 MB / 1.192 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/1.258, allocations: 0 / 1.192 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/1.258, allocations: 62.8 kB / 1.192 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/1.258, allocations: 50.66 kB / 1.192 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/1.26, allocations: 1.17 MB / 1.193 GB, free: 15.86 MB / 0.7292 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.008606/1.269, allocations: 7.198 MB / 1.2 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/1.27, allocations: 0.8253 MB / 1.201 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/1.271, allocations: 454.4 kB / 1.202 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.272, allocations: 0.7277 MB / 1.202 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.272, allocations: 47.2 kB / 1.202 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/1.272, allocations: 0 / 1.202 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.006613/1.279, allocations: 2.14 MB / 1.204 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.279, allocations: 60.06 kB / 1.204 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/1.281, allocations: 1.306 MB / 1.206 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.993e-05/1.281, allocations: 45.7 kB / 1.206 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006853/1.282, allocations: 0.8011 MB / 1.207 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/1.282, allocations: 262.8 kB / 1.207 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/1.282, allocations: 23.88 kB / 1.207 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.282, allocations: 337.9 kB / 1.207 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/1.283, allocations: 341.8 kB / 1.207 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/1.284, allocations: 0.5747 MB / 1.208 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.285, allocations: 0.8829 MB / 1.209 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.285, allocations: 3.938 kB / 1.209 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002559/1.288, allocations: 1.282 MB / 1.21 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/1.288, allocations: 236.6 kB / 1.21 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.288, allocations: 4 kB / 1.21 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/1.29, allocations: 421 kB / 1.211 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/1.29, allocations: 155.8 kB / 1.211 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/1.292, allocations: 2.047 MB / 1.213 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.294, allocations: 199 kB / 1.213 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/1.294, allocations: 36 kB / 1.213 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.294, allocations: 4 kB / 1.213 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001975/1.296, allocations: 1.056 MB / 1.214 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.296, allocations: 12.34 kB / 1.214 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/1.298, allocations: 376.4 kB / 1.215 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/1.298, allocations: 155.8 kB / 1.215 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/1.302, allocations: 3.869 MB / 1.218 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.304, allocations: 182.2 kB / 1.219 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/1.304, allocations: 39.98 kB / 1.219 GB, free: 4.406 MB / 0.7448 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.001024/1.305, allocations: 471.9 kB / 1.219 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/1.305, allocations: 154.1 kB / 1.219 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/1.308, allocations: 1.216 MB / 1.22 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.308, allocations: 8 kB / 1.22 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/1.308, allocations: 0 / 1.22 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002384/1.31, allocations: 1.297 MB / 1.222 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004985/1.315, allocations: 2.775 MB / 1.224 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/1.315, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/1.316, allocations: 108.2 kB / 1.225 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/1.317, allocations: 373 kB / 1.225 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/1.317, allocations: 20 kB / 1.225 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/1.319, allocations: 2.028 MB / 1.227 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.319, allocations: 4.031 kB / 1.227 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/1.321, allocations: 1.225 MB / 1.228 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007568/1.322, allocations: 350.9 kB / 1.228 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.322, allocations: 15.94 kB / 1.228 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.323, allocations: 126.5 kB / 1.229 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.323, allocations: 52.5 kB / 1.229 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/1.323, allocations: 31.92 kB / 1.229 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001365/1.325, allocations: 0.8897 MB / 1.23 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.71e-07/1.325, allocations: 0 / 1.23 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002791/1.327, allocations: 0.9077 MB / 1.23 GB, free: 8.035 MB / 0.7605 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.003105/1.331, allocations: 2.012 MB / 1.232 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003519/1.334, allocations: 1.677 MB / 1.234 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.334, allocations: 0 / 1.234 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.335, allocations: 477.5 kB / 1.234 GB, free: 3.828 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.339, allocations: 0.7881 MB / 1.235 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.361, allocations: 12.18 MB / 1.247 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.362, allocations: 1.348 MB / 1.248 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001597/1.363, allocations: 329.1 kB / 1.249 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008366/1.364, allocations: 0.6399 MB / 1.249 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of SimCode: time 1.482e-06/1.364, allocations: 0 / 1.249 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08031/1.445, allocations: 43.18 MB / 1.292 GB, free: 9.254 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/1.445, allocations: 316.2 kB / 1.292 GB, free: 8.867 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.752/5.197, allocations: 0 / 1.292 GB, free: 8.867 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)