Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.498/2.498, allocations: 390.5 MB / 398 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 195.3 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009317, allocations: 95.89 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.259e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2732, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.78/6.053, allocations: 2.183 GB / 3.395 GB, free: 128.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/6.054, allocations: 92.88 kB / 3.396 GB, free: 128.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.702/10.76, allocations: 1.119 GB / 4.515 GB, free: 195.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/10.76, allocations: 2.734 kB / 4.515 GB, free: 195.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003139/10.76, allocations: 53.66 kB / 4.515 GB, free: 195.8 MB / 1.167 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.007218/10.76, allocations: 2.105 MB / 4.517 GB, free: 194.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/10.76, allocations: 10.31 kB / 4.517 GB, free: 194.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/10.77, allocations: 371 kB / 4.517 GB, free: 194.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/10.77, allocations: 1.652 MB / 4.519 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/10.77, allocations: 46.22 kB / 4.519 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/10.77, allocations: 86.09 kB / 4.519 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002013/10.77, allocations: 0.9316 MB / 4.52 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/10.78, allocations: 1.219 MB / 4.521 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/10.78, allocations: 0 / 4.521 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/10.78, allocations: 0 / 4.521 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/10.78, allocations: 55.33 kB / 4.521 GB, free: 194.3 MB / 1.167 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.007769/10.78, allocations: 6.893 MB / 4.528 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/10.78, allocations: 0.8084 MB / 4.528 GB, free: 190.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/10.79, allocations: 378.5 kB / 4.529 GB, free: 190.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/10.79, allocations: 0.7182 MB / 4.53 GB, free: 189.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/10.79, allocations: 49.22 kB / 4.53 GB, free: 189.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 3.536e-06/10.79, allocations: 0 / 4.53 GB, free: 189.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.003094/10.79, allocations: 1.149 MB / 4.531 GB, free: 189.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/10.79, allocations: 62.53 kB / 4.531 GB, free: 189.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/10.79, allocations: 0.9335 MB / 4.532 GB, free: 189.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/10.79, allocations: 25.7 kB / 4.532 GB, free: 189.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/10.79, allocations: 0.8122 MB / 4.532 GB, free: 188.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/10.79, allocations: 253.5 kB / 4.533 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/10.79, allocations: 0 / 4.533 GB, free: 188.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/10.79, allocations: 343.1 kB / 4.533 GB, free: 188.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/10.79, allocations: 266.4 kB / 4.533 GB, free: 188.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/10.79, allocations: 0.5414 MB / 4.534 GB, free: 188.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/10.79, allocations: 429.3 kB / 4.534 GB, free: 188.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/10.79, allocations: 0 / 4.534 GB, free: 188.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002692/10.8, allocations: 1.241 MB / 4.535 GB, free: 187.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004202/10.8, allocations: 1.953 MB / 4.537 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/10.8, allocations: 6.969 kB / 4.537 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/10.8, allocations: 371.4 kB / 4.538 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/10.8, allocations: 148 kB / 4.538 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/10.8, allocations: 2.117 MB / 4.54 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/10.8, allocations: 145.1 kB / 4.54 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/10.8, allocations: 34.38 kB / 4.54 GB, free: 184.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/10.8, allocations: 7.875 kB / 4.54 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002399/10.8, allocations: 1.029 MB / 4.541 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/10.8, allocations: 2.375 kB / 4.541 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/10.81, allocations: 370.8 kB / 4.541 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/10.81, allocations: 152.4 kB / 4.542 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/10.81, allocations: 3.788 MB / 4.545 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/10.81, allocations: 132.9 kB / 4.545 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/10.81, allocations: 35.38 kB / 4.545 GB, free: 181.1 MB / 1.167 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.0002873/10.81, allocations: 135.7 kB / 4.546 GB, free: 181 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002483/10.81, allocations: 1.104 MB / 4.547 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/10.81, allocations: 143.6 kB / 4.547 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/10.82, allocations: 1.208 MB / 4.548 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/10.82, allocations: 7.031 kB / 4.548 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/10.82, allocations: 0 / 4.548 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002241/10.82, allocations: 1.322 MB / 4.549 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/10.82, allocations: 2.502 MB / 4.552 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/10.82, allocations: 0 / 4.552 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/10.82, allocations: 107.8 kB / 4.552 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/10.82, allocations: 351.5 kB / 4.552 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/10.82, allocations: 13.89 kB / 4.552 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/10.83, allocations: 2.097 MB / 4.554 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/10.83, allocations: 2.062 kB / 4.554 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/10.83, allocations: 1.307 MB / 4.556 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/10.83, allocations: 335.8 kB / 4.556 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/10.83, allocations: 3.812 kB / 4.556 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/10.83, allocations: 109 kB / 4.556 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/10.83, allocations: 58.28 kB / 4.556 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/10.83, allocations: 30.33 kB / 4.556 GB, free: 177.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009664/10.83, allocations: 0.7159 MB / 4.557 GB, free: 177.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/10.83, allocations: 0 / 4.557 GB, free: 177.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003378/10.83, allocations: 1.045 MB / 4.558 GB, free: 177.1 MB / 1.167 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.005339/10.84, allocations: 4.858 MB / 4.562 GB, free: 174.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002447/10.84, allocations: 1.456 MB / 4.564 GB, free: 174.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/10.84, allocations: 0 / 4.564 GB, free: 174.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006906/10.84, allocations: 426.3 kB / 4.564 GB, free: 174.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/10.85, allocations: 0.7104 MB / 4.565 GB, free: 174.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/10.85, allocations: 2.258 MB / 4.567 GB, free: 173.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/10.85, allocations: 1.388 MB / 4.569 GB, free: 173.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001772/10.85, allocations: 400.6 kB / 4.569 GB, free: 173.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/10.85, allocations: 0.5966 MB / 4.57 GB, free: 173.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/10.85, allocations: 0 / 4.57 GB, free: 173.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/10.98, allocations: 57.98 MB / 4.626 GB, free: 169.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/10.98, allocations: 193.7 kB / 4.626 GB, free: 169.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.416/15.39, allocations: 5.375 kB / 4.626 GB, free: 169.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat does not exist to compare? outputFormat=mat