Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001086/0.001086, allocations: 183 kB / 498.1 MB, free: 5.68 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.572/1.572, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009195/0.0009195, allocations: 102.6 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004086, allocations: 11.97 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 142.3 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.328/5.649, allocations: 2.183 GB / 3.406 GB, free: 270.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/5.649, allocations: 104.5 kB / 3.406 GB, free: 270.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.718/9.367, allocations: 1.131 GB / 4.537 GB, free: 12.27 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.365e-06/9.367, allocations: 0 / 4.537 GB, free: 12.27 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001654/9.367, allocations: 51.92 kB / 4.537 GB, free: 12.22 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.006437/9.374, allocations: 2.428 MB / 4.539 GB, free: 9.762 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/9.374, allocations: 8.75 kB / 4.539 GB, free: 9.754 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003964/9.374, allocations: 206.7 kB / 4.539 GB, free: 9.543 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/9.376, allocations: 373.1 kB / 4.54 GB, free: 9.176 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/9.38, allocations: 1.672 MB / 4.541 GB, free: 7.449 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/9.38, allocations: 102.7 kB / 4.541 GB, free: 7.348 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/9.38, allocations: 140 kB / 4.542 GB, free: 7.211 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/9.383, allocations: 1.475 MB / 4.543 GB, free: 5.668 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/9.383, allocations: 0 / 4.543 GB, free: 5.668 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/9.383, allocations: 56 kB / 4.543 GB, free: 5.613 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.506e-05/9.383, allocations: 57.92 kB / 4.543 GB, free: 5.559 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/9.385, allocations: 1.123 MB / 4.544 GB, free: 4.43 MB / 1.167 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.01006/9.395, allocations: 7.155 MB / 4.551 GB, free: 12.72 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/9.397, allocations: 0.8688 MB / 4.552 GB, free: 11.82 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/9.398, allocations: 0.7201 MB / 4.553 GB, free: 10.96 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/9.398, allocations: 47.2 kB / 4.553 GB, free: 10.9 MB / 1.182 GB Notification: Performance of pre-optimization done (n=75): time 5.089e-06/9.398, allocations: 4 kB / 4.553 GB, free: 10.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=75): time 0.007585/9.405, allocations: 2.205 MB / 4.555 GB, free: 8.621 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/9.405, allocations: 64.06 kB / 4.555 GB, free: 8.547 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/9.407, allocations: 1.14 MB / 4.556 GB, free: 7.402 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/9.407, allocations: 41.7 kB / 4.556 GB, free: 7.355 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/9.408, allocations: 0.8094 MB / 4.557 GB, free: 6.539 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/9.408, allocations: 268.1 kB / 4.557 GB, free: 6.273 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/9.408, allocations: 16 kB / 4.557 GB, free: 6.258 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001799/9.409, allocations: 341.9 kB / 4.558 GB, free: 5.918 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/9.409, allocations: 313.8 kB / 4.558 GB, free: 5.609 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/9.41, allocations: 0.5843 MB / 4.558 GB, free: 4.914 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/9.411, allocations: 409.6 kB / 4.559 GB, free: 4.516 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/9.411, allocations: 4 kB / 4.559 GB, free: 4.512 MB / 1.182 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002619/9.414, allocations: 1.197 MB / 4.56 GB, free: 3.297 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008657/9.414, allocations: 1.804 MB / 4.562 GB, free: 1.328 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/9.415, allocations: 4 kB / 4.562 GB, free: 1.324 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/9.417, allocations: 394.1 kB / 4.562 GB, free: 0.9297 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/9.417, allocations: 143.8 kB / 4.562 GB, free: 0.7891 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9102/10.33, allocations: 2.072 MB / 4.564 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/10.33, allocations: 178.4 kB / 4.565 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/10.33, allocations: 38.06 kB / 4.565 GB, free: 184.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/10.33, allocations: 4.25 kB / 4.565 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002661/10.33, allocations: 1.027 MB / 4.566 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/10.33, allocations: 5.297 kB / 4.566 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/10.33, allocations: 383.1 kB / 4.566 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/10.34, allocations: 146 kB / 4.566 GB, free: 184.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/10.34, allocations: 3.889 MB / 4.57 GB, free: 181.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/10.34, allocations: 174 kB / 4.57 GB, free: 181.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/10.34, allocations: 37.41 kB / 4.57 GB, free: 181.4 MB / 1.182 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.001234/10.34, allocations: 471.2 kB / 4.571 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/10.34, allocations: 157.7 kB / 4.571 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/10.35, allocations: 1.168 MB / 4.572 GB, free: 181.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/10.35, allocations: 7.188 kB / 4.572 GB, free: 181.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/10.35, allocations: 6.953 kB / 4.572 GB, free: 181.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001896/10.35, allocations: 1.249 MB / 4.573 GB, free: 180.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005844/10.35, allocations: 2.758 MB / 4.576 GB, free: 180.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/10.35, allocations: 5.812 kB / 4.576 GB, free: 180.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000515/10.35, allocations: 103 kB / 4.576 GB, free: 180.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/10.36, allocations: 381.3 kB / 4.576 GB, free: 180.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-05/10.36, allocations: 16.08 kB / 4.576 GB, free: 180.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/10.36, allocations: 2.074 MB / 4.578 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/10.36, allocations: 7.859 kB / 4.578 GB, free: 178.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/10.36, allocations: 1.383 MB / 4.58 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/10.36, allocations: 353.3 kB / 4.58 GB, free: 177.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/10.36, allocations: 22.47 kB / 4.58 GB, free: 177.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/10.36, allocations: 126.5 kB / 4.58 GB, free: 177.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/10.36, allocations: 49.33 kB / 4.58 GB, free: 177.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/10.36, allocations: 27.42 kB / 4.58 GB, free: 177.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001718/10.36, allocations: 0.8918 MB / 4.581 GB, free: 177.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.2e-07/10.36, allocations: 0 / 4.581 GB, free: 177.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004328/10.37, allocations: 1.106 MB / 4.582 GB, free: 177.7 MB / 1.182 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.00732/10.38, allocations: 4.729 MB / 4.587 GB, free: 175.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003805/10.38, allocations: 1.619 MB / 4.588 GB, free: 175.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/10.38, allocations: 1.906 kB / 4.588 GB, free: 175.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/10.38, allocations: 497.2 kB / 4.589 GB, free: 175.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/10.39, allocations: 0.7892 MB / 4.59 GB, free: 175.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/10.4, allocations: 11.86 MB / 4.601 GB, free: 169 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/10.4, allocations: 1.385 MB / 4.602 GB, free: 168.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001839/10.41, allocations: 331.5 kB / 4.603 GB, free: 168.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007743/10.41, allocations: 0.6413 MB / 4.603 GB, free: 168.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.843e-06/10.41, allocations: 3.438 kB / 4.603 GB, free: 168.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/10.54, allocations: 75.47 MB / 4.677 GB, free: 167.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/10.54, allocations: 278.3 kB / 4.677 GB, free: 166.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/15.14, allocations: 0 / 4.677 GB, free: 166.8 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat does not exist to compare? outputFormat=mat