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.703/2.703, allocations: 284.9 MB / 292.4 MB, free: 10.49 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.00148/0.00148, allocations: 184.8 kB / 360.6 MB, free: 7.266 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.254/2.254, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 88 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.317e-05, allocations: 8 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8323, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.088/7.92, allocations: 2.341 GB / 3.305 GB, free: 139.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/7.92, allocations: 97.19 kB / 3.305 GB, free: 139.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.787/13.71, allocations: 1.103 GB / 4.407 GB, free: 116.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.194e-06/13.71, allocations: 0 / 4.407 GB, free: 116.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002221/13.71, allocations: 55.86 kB / 4.407 GB, free: 116.5 MB / 0.948 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.007231/13.71, allocations: 2.101 MB / 4.409 GB, free: 115 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/13.71, allocations: 7.125 kB / 4.409 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/13.72, allocations: 375.5 kB / 4.41 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/13.72, allocations: 1.631 MB / 4.411 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/13.72, allocations: 48.12 kB / 4.411 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/13.72, allocations: 81.5 kB / 4.411 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00275/13.73, allocations: 0.9405 MB / 4.412 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/13.73, allocations: 1.214 MB / 4.413 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/13.73, allocations: 7.625 kB / 4.413 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/13.73, allocations: 4.156 kB / 4.413 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.467e-05/13.73, allocations: 56.62 kB / 4.414 GB, free: 112.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01253/13.74, allocations: 6.871 MB / 4.42 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/13.74, allocations: 0.8073 MB / 4.421 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/13.75, allocations: 380 kB / 4.421 GB, free: 105.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/13.75, allocations: 0.7231 MB / 4.422 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/13.75, allocations: 42.88 kB / 4.422 GB, free: 105.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 4.909e-06/13.75, allocations: 0 / 4.422 GB, free: 105.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.005245/13.75, allocations: 1.167 MB / 4.423 GB, free: 104.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/13.75, allocations: 58.62 kB / 4.423 GB, free: 104.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/13.75, allocations: 0.9267 MB / 4.424 GB, free: 103.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/13.75, allocations: 25.7 kB / 4.424 GB, free: 103.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/13.76, allocations: 0.8127 MB / 4.425 GB, free: 102.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/13.76, allocations: 252.2 kB / 4.425 GB, free: 102.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/13.76, allocations: 0 / 4.425 GB, free: 102.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/13.76, allocations: 337.9 kB / 4.426 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/13.76, allocations: 270.5 kB / 4.426 GB, free: 101.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/13.76, allocations: 0.5501 MB / 4.426 GB, free: 101.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/13.76, allocations: 438.1 kB / 4.427 GB, free: 100.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/13.76, allocations: 0 / 4.427 GB, free: 100.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004957/13.76, allocations: 1.226 MB / 4.428 GB, free: 99.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00044/13.76, allocations: 1.968 MB / 4.43 GB, free: 97.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/13.76, allocations: 7.281 kB / 4.43 GB, free: 97.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/13.77, allocations: 363.9 kB / 4.43 GB, free: 97.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/13.77, allocations: 151.8 kB / 4.43 GB, free: 96.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/13.77, allocations: 2.118 MB / 4.433 GB, free: 94.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/13.77, allocations: 139.2 kB / 4.433 GB, free: 94.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/13.77, allocations: 40 kB / 4.433 GB, free: 94.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/13.77, allocations: 4 kB / 4.433 GB, free: 94.51 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004083/13.78, allocations: 1.032 MB / 4.434 GB, free: 93.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/13.78, allocations: 8 kB / 4.434 GB, free: 93.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/13.78, allocations: 368.3 kB / 4.434 GB, free: 93.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/13.78, allocations: 147.8 kB / 4.434 GB, free: 92.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/13.78, allocations: 3.785 MB / 4.438 GB, free: 88.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/13.79, allocations: 131.4 kB / 4.438 GB, free: 88.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/13.79, allocations: 36 kB / 4.438 GB, free: 88.75 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * 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 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003395/13.79, allocations: 124.8 kB / 4.438 GB, free: 88.62 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004334/13.79, allocations: 1.101 MB / 4.439 GB, free: 87.51 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005024/13.79, allocations: 142.3 kB / 4.439 GB, free: 87.37 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/13.8, allocations: 1.214 MB / 4.441 GB, free: 86.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/13.8, allocations: 8 kB / 4.441 GB, free: 86.13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/13.8, allocations: 0 / 4.441 GB, free: 86.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003938/13.8, allocations: 1.323 MB / 4.442 GB, free: 84.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006758/13.81, allocations: 2.501 MB / 4.444 GB, free: 82.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/13.81, allocations: 4 kB / 4.444 GB, free: 82.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/13.81, allocations: 112.1 kB / 4.444 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/13.81, allocations: 357.5 kB / 4.445 GB, free: 81.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/13.81, allocations: 8 kB / 4.445 GB, free: 81.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/13.81, allocations: 2.086 MB / 4.447 GB, free: 79.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/13.81, allocations: 4 kB / 4.447 GB, free: 79.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/13.82, allocations: 1.318 MB / 4.448 GB, free: 78.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/13.82, allocations: 327 kB / 4.448 GB, free: 77.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/13.82, allocations: 4 kB / 4.448 GB, free: 77.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/13.82, allocations: 111.7 kB / 4.449 GB, free: 77.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/13.82, allocations: 52.5 kB / 4.449 GB, free: 77.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/13.82, allocations: 35.92 kB / 4.449 GB, free: 77.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001349/13.82, allocations: 0.7063 MB / 4.449 GB, free: 76.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/13.82, allocations: 0 / 4.449 GB, free: 76.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004818/13.83, allocations: 1.04 MB / 4.45 GB, free: 75.78 MB / 0.948 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 () * 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 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007444/13.83, allocations: 4.862 MB / 4.455 GB, free: 71.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003743/13.84, allocations: 1.457 MB / 4.456 GB, free: 69.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/13.84, allocations: 0 / 4.456 GB, free: 69.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/13.84, allocations: 424.7 kB / 4.457 GB, free: 69.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006413/13.85, allocations: 0.7143 MB / 4.458 GB, free: 68.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/13.85, allocations: 2.255 MB / 4.46 GB, free: 66.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/13.85, allocations: 1.386 MB / 4.461 GB, free: 64.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003026/13.86, allocations: 407.3 kB / 4.462 GB, free: 64.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/13.86, allocations: 0.5929 MB / 4.462 GB, free: 63.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/13.86, allocations: 4 kB / 4.462 GB, free: 63.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1539/14.01, allocations: 57.99 MB / 4.519 GB, free: 6.309 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/14.01, allocations: 201.3 kB / 4.519 GB, free: 6.105 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.256/19.27, allocations: 4 kB / 4.519 GB, free: 6.102 MB / 0.948 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)