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.45/2.45, allocations: 393.5 MB / 408.4 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.001508/0.001508, allocations: 183.9 kB / 0.4901 GB, free: 2.074 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.607/1.607, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001168/0.001168, allocations: 100 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 12.31 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3592, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.105/6.464, allocations: 2.184 GB / 3.413 GB, free: 206.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/6.464, allocations: 103.8 kB / 3.413 GB, free: 206.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.914/11.38, allocations: 1.131 GB / 4.544 GB, free: 185.2 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.976e-06/11.38, allocations: 2.719 kB / 4.544 GB, free: 185.2 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.000237/11.38, allocations: 54.34 kB / 4.544 GB, free: 185.2 MB / 1.182 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.008152/11.39, allocations: 2.424 MB / 4.546 GB, free: 184.6 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/11.39, allocations: 8.656 kB / 4.546 GB, free: 184.6 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004744/11.39, allocations: 211.4 kB / 4.547 GB, free: 184.6 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/11.39, allocations: 374.9 kB / 4.547 GB, free: 184.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004346/11.39, allocations: 1.659 MB / 4.549 GB, free: 184.1 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.845e-05/11.39, allocations: 111.9 kB / 4.549 GB, free: 184.1 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/11.39, allocations: 139.8 kB / 4.549 GB, free: 184.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/11.4, allocations: 1.474 MB / 4.55 GB, free: 183.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/11.4, allocations: 3.844 kB / 4.55 GB, free: 183.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/11.4, allocations: 59.72 kB / 4.55 GB, free: 183.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/11.4, allocations: 53.52 kB / 4.55 GB, free: 183.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/11.4, allocations: 1.123 MB / 4.551 GB, free: 183.9 MB / 1.182 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.009143/11.41, allocations: 7.147 MB / 4.558 GB, free: 180.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/11.41, allocations: 0.8885 MB / 4.559 GB, free: 180 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007798/11.41, allocations: 0.7155 MB / 4.56 GB, free: 179.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/11.41, allocations: 48.42 kB / 4.56 GB, free: 179.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=75): time 4.378e-06/11.41, allocations: 0 / 4.56 GB, free: 179.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=75): time 0.006764/11.42, allocations: 2.208 MB / 4.562 GB, free: 178.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/11.42, allocations: 63.27 kB / 4.562 GB, free: 178.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/11.42, allocations: 1.144 MB / 4.563 GB, free: 178.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/11.42, allocations: 43.14 kB / 4.563 GB, free: 178.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/11.42, allocations: 0.8046 MB / 4.564 GB, free: 178.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/11.42, allocations: 263.3 kB / 4.564 GB, free: 178.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/11.42, allocations: 17 kB / 4.564 GB, free: 178.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/11.42, allocations: 338.4 kB / 4.565 GB, free: 177.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/11.42, allocations: 317.9 kB / 4.565 GB, free: 177.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/11.42, allocations: 0.588 MB / 4.566 GB, free: 177.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/11.42, allocations: 402.2 kB / 4.566 GB, free: 177.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/11.42, allocations: 0 / 4.566 GB, free: 177.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002038/11.42, allocations: 1.2 MB / 4.567 GB, free: 177.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005568/11.42, allocations: 1.797 MB / 4.569 GB, free: 175.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/11.42, allocations: 11.61 kB / 4.569 GB, free: 175.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/11.43, allocations: 399.5 kB / 4.569 GB, free: 175.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/11.43, allocations: 138.7 kB / 4.569 GB, free: 175.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/11.43, allocations: 2.086 MB / 4.571 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/11.43, allocations: 177.2 kB / 4.572 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/11.43, allocations: 42.47 kB / 4.572 GB, free: 173.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/11.43, allocations: 0 / 4.572 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001703/11.43, allocations: 1.023 MB / 4.573 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/11.43, allocations: 3.219 kB / 4.573 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/11.43, allocations: 391.5 kB / 4.573 GB, free: 173.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/11.43, allocations: 150.1 kB / 4.573 GB, free: 173.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/11.44, allocations: 3.874 MB / 4.577 GB, free: 170.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/11.44, allocations: 174.7 kB / 4.577 GB, free: 170.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/11.44, allocations: 32.59 kB / 4.577 GB, free: 170.6 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.001155/11.44, allocations: 483.7 kB / 4.578 GB, free: 170.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/11.44, allocations: 157.8 kB / 4.578 GB, free: 170.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/11.44, allocations: 1.173 MB / 4.579 GB, free: 170.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/11.44, allocations: 10.88 kB / 4.579 GB, free: 170.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/11.44, allocations: 2.188 kB / 4.579 GB, free: 170.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/11.44, allocations: 1.257 MB / 4.58 GB, free: 169.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/11.45, allocations: 2.744 MB / 4.583 GB, free: 169.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/11.45, allocations: 3.781 kB / 4.583 GB, free: 169.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/11.45, allocations: 106.5 kB / 4.583 GB, free: 169.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/11.45, allocations: 381.3 kB / 4.583 GB, free: 169.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/11.45, allocations: 21.55 kB / 4.583 GB, free: 169.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/11.45, allocations: 2.07 MB / 4.585 GB, free: 167.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/11.45, allocations: 9.531 kB / 4.585 GB, free: 167.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/11.45, allocations: 1.394 MB / 4.587 GB, free: 167.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008941/11.46, allocations: 343.9 kB / 4.587 GB, free: 167 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/11.46, allocations: 15.28 kB / 4.587 GB, free: 167 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/11.46, allocations: 126.8 kB / 4.587 GB, free: 167 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/11.46, allocations: 47.12 kB / 4.587 GB, free: 167 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/11.46, allocations: 35.75 kB / 4.587 GB, free: 167 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001274/11.46, allocations: 0.8925 MB / 4.588 GB, free: 166.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.5e-07/11.46, allocations: 3.219 kB / 4.588 GB, free: 166.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003685/11.46, allocations: 1.101 MB / 4.589 GB, free: 166.9 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.005956/11.47, allocations: 4.716 MB / 4.594 GB, free: 164.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003323/11.47, allocations: 1.622 MB / 4.595 GB, free: 164.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/11.47, allocations: 3.094 kB / 4.595 GB, free: 164.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0009742/11.47, allocations: 494 kB / 4.596 GB, free: 164.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/11.48, allocations: 0.7973 MB / 4.597 GB, free: 164.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/11.49, allocations: 11.86 MB / 4.608 GB, free: 158.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/11.5, allocations: 1.379 MB / 4.61 GB, free: 157.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001817/11.5, allocations: 332.3 kB / 4.61 GB, free: 157.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007912/11.5, allocations: 0.6345 MB / 4.611 GB, free: 157.4 MB / 1.182 GB Notification: Performance of SimCode: time 1.693e-06/11.5, allocations: 0 / 4.611 GB, free: 157.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/11.63, allocations: 75.5 MB / 4.684 GB, free: 155.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/11.63, allocations: 275.1 kB / 4.685 GB, free: 155.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.822/16.46, allocations: 0 / 4.685 GB, free: 155.3 MB / 1.182 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