Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.4 MB / 303.3 MB, free: 8.246 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.001161/0.001162, allocations: 190 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.001168/0.001168, allocations: 80.91 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004283, allocations: 12.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2638, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8198/1.084, allocations: 231.9 MB / 1.206 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02585/1.11, allocations: 16.82 MB / 1.223 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003593/1.113, allocations: 65.72 kB / 1.223 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003235/1.117, allocations: 0.7268 MB / 1.223 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/1.127, allocations: 2.808 MB / 1.226 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/1.132, allocations: 1.357 MB / 1.227 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009333/1.142, allocations: 5.796 MB / 1.233 GB, free: 7.203 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/1.145, allocations: 1.295 MB / 1.234 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/1.151, allocations: 1.754 MB / 1.236 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003938/1.155, allocations: 1.4 MB / 1.237 GB, free: 2.723 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005217/1.155, allocations: 68 kB / 1.237 GB, free: 2.656 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/1.161, allocations: 1.555 MB / 1.239 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000935/1.162, allocations: 462.2 kB / 1.239 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/1.163, allocations: 432.6 kB / 1.24 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004774/1.168, allocations: 2.591 MB / 1.242 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.168, allocations: 0 / 1.242 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.006e-06/1.168, allocations: 0 / 1.242 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.988e-05/1.168, allocations: 0 / 1.242 GB, free: 13.62 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.004896/1.173, allocations: 2.121 MB / 1.244 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.173, allocations: 8.031 kB / 1.244 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000363/1.174, allocations: 206.7 kB / 1.245 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/1.175, allocations: 381 kB / 1.245 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/1.179, allocations: 1.352 MB / 1.246 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.179, allocations: 106.7 kB / 1.246 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/1.179, allocations: 140 kB / 1.247 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/1.182, allocations: 1.51 MB / 1.248 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/1.182, allocations: 0 / 1.248 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/1.182, allocations: 60 kB / 1.248 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/1.182, allocations: 50.64 kB / 1.248 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003842/1.186, allocations: 1.154 MB / 1.249 GB, free: 6.352 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.01545/1.202, allocations: 7.193 MB / 1.256 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/1.204, allocations: 0.821 MB / 1.257 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/1.205, allocations: 450.6 kB / 1.258 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/1.207, allocations: 0.7279 MB / 1.258 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/1.207, allocations: 43.22 kB / 1.258 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=74): time 8.967e-06/1.207, allocations: 4 kB / 1.258 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74): time 0.01135/1.218, allocations: 2.125 MB / 1.26 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/1.218, allocations: 60.06 kB / 1.26 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/1.222, allocations: 1.293 MB / 1.262 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/1.222, allocations: 41.7 kB / 1.262 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/1.223, allocations: 0.7977 MB / 1.262 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/1.223, allocations: 260.2 kB / 1.263 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/1.223, allocations: 20 kB / 1.263 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.224, allocations: 341.9 kB / 1.263 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.225, allocations: 329.8 kB / 1.263 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/1.226, allocations: 0.5591 MB / 1.264 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/1.227, allocations: 426.8 kB / 1.264 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.227, allocations: 7.938 kB / 1.264 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004227/1.232, allocations: 1.259 MB / 1.266 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/1.232, allocations: 233.9 kB / 1.266 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/1.232, allocations: 12 kB / 1.266 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/1.235, allocations: 415.3 kB / 1.266 GB, free: 3.926 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009692/1.236, allocations: 155.8 kB / 1.266 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/1.238, allocations: 2.06 MB / 1.268 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.241, allocations: 186.9 kB / 1.269 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.241, allocations: 39.98 kB / 1.269 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.241, allocations: 4 kB / 1.269 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003264/1.245, allocations: 1.057 MB / 1.27 GB, free: 360 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.245, allocations: 8.031 kB / 1.27 GB, free: 352 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/1.247, allocations: 370.1 kB / 1.27 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/1.248, allocations: 155.8 kB / 1.27 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/1.253, allocations: 3.845 MB / 1.274 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.255, allocations: 187 kB / 1.274 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/1.256, allocations: 43.92 kB / 1.274 GB, free: 11.45 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.00143/1.257, allocations: 472.8 kB / 1.275 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005231/1.258, allocations: 150.1 kB / 1.275 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004591/1.262, allocations: 1.213 MB / 1.276 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/1.262, allocations: 8 kB / 1.276 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.262, allocations: 0 / 1.276 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004061/1.266, allocations: 1.294 MB / 1.277 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/1.272, allocations: 2.766 MB / 1.28 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/1.272, allocations: 4 kB / 1.28 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/1.272, allocations: 112.2 kB / 1.28 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/1.274, allocations: 373.5 kB / 1.28 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/1.274, allocations: 20 kB / 1.28 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/1.276, allocations: 2.032 MB / 1.282 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.276, allocations: 4 kB / 1.282 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.278, allocations: 1.222 MB / 1.284 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008547/1.279, allocations: 335 kB / 1.284 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.279, allocations: 23.94 kB / 1.284 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.28, allocations: 121.8 kB / 1.284 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.28, allocations: 56.44 kB / 1.284 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/1.28, allocations: 27.98 kB / 1.284 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001318/1.281, allocations: 0.8739 MB / 1.285 GB, free: 0 / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/1.281, allocations: 0 / 1.285 GB, free: 0 / 0.8073 GB Notification: Performance of remove unused functions: time 0.002562/1.284, allocations: 0.9038 MB / 1.286 GB, free: 15.09 MB / 0.823 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.002884/1.287, allocations: 1.985 MB / 1.288 GB, free: 13.05 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003609/1.291, allocations: 1.669 MB / 1.289 GB, free: 11.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.291, allocations: 8.375 kB / 1.289 GB, free: 11.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.292, allocations: 474.3 kB / 1.29 GB, free: 10.89 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/1.296, allocations: 0.795 MB / 1.291 GB, free: 10.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.312, allocations: 8.945 MB / 1.299 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.313, allocations: 1.344 MB / 1.301 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00158/1.315, allocations: 324.7 kB / 1.301 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007868/1.316, allocations: 0.636 MB / 1.302 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/1.316, allocations: 0 / 1.302 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0811/1.397, allocations: 44.37 MB / 1.345 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/1.397, allocations: 288.6 kB / 1.345 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.881/5.278, allocations: 0 / 1.345 GB, free: 2.16 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)