Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.6 MB / 307.5 MB, free: 5.098 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.00138/0.00138, allocations: 176.2 kB / 377.1 MB, free: 1.449 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.885/1.885, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.0009512/0.0009511, allocations: 92.31 kB / 0.7509 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003313, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2893, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.736/7.025, allocations: 2.343 GB / 3.331 GB, free: 199.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/7.026, allocations: 106.1 kB / 3.332 GB, free: 199.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.458/11.48, allocations: 1.114 GB / 4.446 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.747e-06/11.48, allocations: 9.188 kB / 4.446 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003756/11.48, allocations: 51.09 kB / 4.446 GB, free: 114.1 MB / 0.9636 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.00943/11.49, allocations: 2.414 MB / 4.448 GB, free: 113 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/11.49, allocations: 9.312 kB / 4.448 GB, free: 113 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008467/11.49, allocations: 199.1 kB / 4.448 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/11.5, allocations: 377.1 kB / 4.449 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005389/11.5, allocations: 1.655 MB / 4.45 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/11.5, allocations: 106.4 kB / 4.45 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/11.5, allocations: 147.4 kB / 4.451 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004038/11.51, allocations: 1.466 MB / 4.452 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/11.51, allocations: 7.781 kB / 4.452 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/11.51, allocations: 53.03 kB / 4.452 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/11.51, allocations: 60.09 kB / 4.452 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/11.51, allocations: 1.124 MB / 4.453 GB, free: 112.1 MB / 0.9636 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.01089/11.52, allocations: 7.15 MB / 4.46 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/11.52, allocations: 0.8878 MB / 4.461 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008041/11.52, allocations: 0.717 MB / 4.462 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/11.52, allocations: 41 kB / 4.462 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 4.027e-06/11.52, allocations: 0 / 4.462 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.007048/11.53, allocations: 2.214 MB / 4.464 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/11.53, allocations: 59.03 kB / 4.464 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/11.53, allocations: 1.132 MB / 4.465 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/11.53, allocations: 44.58 kB / 4.465 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006825/11.53, allocations: 0.7975 MB / 4.466 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/11.53, allocations: 261.2 kB / 4.466 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/11.53, allocations: 15.22 kB / 4.466 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/11.53, allocations: 346.3 kB / 4.467 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/11.54, allocations: 319.4 kB / 4.467 GB, free: 105 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/11.54, allocations: 0.5949 MB / 4.467 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/11.54, allocations: 417.6 kB / 4.468 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/11.54, allocations: 0 / 4.468 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002377/11.54, allocations: 1.195 MB / 4.469 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004671/11.54, allocations: 1.802 MB / 4.471 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/11.54, allocations: 3.906 kB / 4.471 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/11.54, allocations: 385.3 kB / 4.471 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/11.54, allocations: 146.5 kB / 4.471 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/11.54, allocations: 2.087 MB / 4.473 GB, free: 100 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/11.55, allocations: 183.3 kB / 4.474 GB, free: 99.97 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/11.55, allocations: 33.62 kB / 4.474 GB, free: 99.96 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/11.55, allocations: 3.625 kB / 4.474 GB, free: 99.96 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001789/11.55, allocations: 1.03 MB / 4.475 GB, free: 99.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/11.55, allocations: 3.906 kB / 4.475 GB, free: 99.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/11.55, allocations: 383.1 kB / 4.475 GB, free: 99.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/11.55, allocations: 147 kB / 4.475 GB, free: 99.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/11.55, allocations: 3.882 MB / 4.479 GB, free: 95.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/11.55, allocations: 178.9 kB / 4.479 GB, free: 95.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/11.55, allocations: 39.64 kB / 4.479 GB, free: 95.83 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (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 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001199/11.56, allocations: 465 kB / 4.48 GB, free: 95.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/11.56, allocations: 155.2 kB / 4.48 GB, free: 95.42 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/11.56, allocations: 1.168 MB / 4.481 GB, free: 94.92 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/11.56, allocations: 13.72 kB / 4.481 GB, free: 94.92 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/11.56, allocations: 0 / 4.481 GB, free: 94.92 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001662/11.56, allocations: 1.254 MB / 4.482 GB, free: 94.14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005944/11.57, allocations: 2.751 MB / 4.485 GB, free: 92.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/11.57, allocations: 7.188 kB / 4.485 GB, free: 92.83 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/11.57, allocations: 102.2 kB / 4.485 GB, free: 92.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/11.57, allocations: 390.6 kB / 4.485 GB, free: 92.73 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/11.57, allocations: 17.16 kB / 4.485 GB, free: 92.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/11.57, allocations: 2.071 MB / 4.487 GB, free: 90.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/11.57, allocations: 3.438 kB / 4.487 GB, free: 90.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/11.57, allocations: 1.387 MB / 4.489 GB, free: 90.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/11.57, allocations: 345.7 kB / 4.489 GB, free: 89.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004577/11.57, allocations: 14.78 kB / 4.489 GB, free: 89.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/11.58, allocations: 124.4 kB / 4.489 GB, free: 89.82 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/11.58, allocations: 60.02 kB / 4.489 GB, free: 89.81 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.394e-05/11.58, allocations: 31.8 kB / 4.489 GB, free: 89.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001733/11.58, allocations: 0.889 MB / 4.49 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.3e-07/11.58, allocations: 0 / 4.49 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004768/11.58, allocations: 1.1 MB / 4.491 GB, free: 89.15 MB / 0.9636 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 (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 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007103/11.59, allocations: 4.721 MB / 4.496 GB, free: 86.32 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003654/11.59, allocations: 1.613 MB / 4.497 GB, free: 85.67 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/11.59, allocations: 0 / 4.497 GB, free: 85.67 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/11.59, allocations: 0.4885 MB / 4.498 GB, free: 85.52 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/11.6, allocations: 0.8009 MB / 4.499 GB, free: 85.33 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/11.62, allocations: 11.82 MB / 4.51 GB, free: 77.55 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/11.62, allocations: 1.378 MB / 4.511 GB, free: 76.79 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001907/11.62, allocations: 327 kB / 4.512 GB, free: 76.72 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/11.62, allocations: 0.6342 MB / 4.512 GB, free: 76.22 MB / 0.9636 GB Notification: Performance of SimCode: time 1.794e-06/11.62, allocations: 0 / 4.512 GB, free: 76.22 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/11.75, allocations: 75.54 MB / 4.586 GB, free: 20.22 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/11.75, allocations: 278.7 kB / 4.586 GB, free: 19.86 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.967/16.72, allocations: 0 / 4.586 GB, free: 19.86 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)