Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009481, allocations: 93.09 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01019/0.01019, allocations: 1.568 MB / 338.1 MB, free: 8.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6363/0.6363, allocations: 90.04 MB / 479.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.428e-05/5.438e-05, allocations: 4 kB / 0.5446 GB, free: 7.891 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1924, allocations: 69.36 MB / 0.6123 GB, free: 2.441 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.294, allocations: 276.6 MB / 0.8824 GB, free: 168.2 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/1.295, allocations: 80.89 kB / 0.8825 GB, free: 168.2 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.67/3.964, allocations: 0.6154 GB / 1.498 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/3.964, allocations: 0 / 1.498 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002174/3.965, allocations: 51.48 kB / 1.498 GB, free: 76.12 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.01105/3.976, allocations: 2.869 MB / 1.501 GB, free: 75.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/3.976, allocations: 18.11 kB / 1.501 GB, free: 75.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006658/3.977, allocations: 218.4 kB / 1.501 GB, free: 75.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003145/3.98, allocations: 383.9 kB / 1.501 GB, free: 75.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/3.982, allocations: 0.899 MB / 1.502 GB, free: 75.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/3.982, allocations: 120.2 kB / 1.502 GB, free: 75.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/3.983, allocations: 158.9 kB / 1.502 GB, free: 75.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/3.988, allocations: 1.551 MB / 1.504 GB, free: 74.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/3.988, allocations: 3.844 kB / 1.504 GB, free: 74.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/3.988, allocations: 62.39 kB / 1.504 GB, free: 74.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.731e-05/3.988, allocations: 46.08 kB / 1.504 GB, free: 74.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/3.992, allocations: 1.07 MB / 1.505 GB, free: 74.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/4.004, allocations: 7.584 MB / 1.513 GB, free: 70.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/4.007, allocations: 1.19 MB / 1.514 GB, free: 70.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008205/4.008, allocations: 481.9 kB / 1.514 GB, free: 70.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/4.01, allocations: 2.659 MB / 1.517 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/4.01, allocations: 46.59 kB / 1.517 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=141): time 4.589e-06/4.01, allocations: 2.797 kB / 1.517 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.0109/4.021, allocations: 3.758 MB / 1.52 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/4.021, allocations: 65.56 kB / 1.521 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/4.022, allocations: 0.8454 MB / 1.521 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/4.022, allocations: 52.02 kB / 1.521 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/4.023, allocations: 0.7096 MB / 1.522 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/4.023, allocations: 0.5101 MB / 1.523 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/4.023, allocations: 34.75 kB / 1.523 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000103/4.023, allocations: 368.5 kB / 1.523 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/4.024, allocations: 442.9 kB / 1.523 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000863/4.025, allocations: 0.7257 MB / 1.524 GB, free: 65.28 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = 0.0 ($START.conductionElement5.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement3.deltaE_system = 0.0 ($START.conductionElement3.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = 0.0 ($START.conductionElement1.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/4.026, allocations: 0.8732 MB / 1.525 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/4.026, allocations: 8.484 kB / 1.525 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003296/4.029, allocations: 1.64 MB / 1.527 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/4.029, allocations: 11.78 kB / 1.527 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/4.029, allocations: 7.281 kB / 1.527 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/4.03, allocations: 188.7 kB / 1.527 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/4.031, allocations: 341.3 kB / 1.527 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/4.036, allocations: 8.096 MB / 1.535 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/4.038, allocations: 98.27 kB / 1.535 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/4.038, allocations: 76.44 kB / 1.535 GB, free: 57.09 MB / 0.6042 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: conductionElement5.deltaE_system = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004231/4.039, allocations: 194.7 kB / 1.535 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/4.039, allocations: 149.7 kB / 1.536 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/4.044, allocations: 1.958 MB / 1.537 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002811/4.047, allocations: 1.217 MB / 1.539 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/4.047, allocations: 2.562 kB / 1.539 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/4.047, allocations: 8.281 kB / 1.539 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008975/4.056, allocations: 3.249 MB / 1.542 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/4.056, allocations: 2.781 kB / 1.542 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/4.057, allocations: 275.4 kB / 1.542 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006786/4.058, allocations: 190.5 kB / 1.542 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/4.058, allocations: 60.05 kB / 1.542 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/4.063, allocations: 8.094 MB / 1.55 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/4.063, allocations: 6.312 kB / 1.55 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/4.069, allocations: 2.284 MB / 1.552 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000838/4.07, allocations: 211.9 kB / 1.553 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/4.07, allocations: 37.03 kB / 1.553 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/4.071, allocations: 76.91 kB / 1.553 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/4.071, allocations: 138 kB / 1.553 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/4.071, allocations: 69.66 kB / 1.553 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009673/4.072, allocations: 0.6355 MB / 1.554 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/4.072, allocations: 0 / 1.554 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004017/4.076, allocations: 0.7653 MB / 1.554 GB, free: 47.67 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005858/4.082, allocations: 4.108 MB / 1.558 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003451/4.086, allocations: 2.36 MB / 1.561 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/4.086, allocations: 2.844 kB / 1.561 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/4.088, allocations: 1.744 MB / 1.562 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/4.09, allocations: 329.8 kB / 1.563 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00795/4.098, allocations: 3.501 MB / 1.566 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000866/4.099, allocations: 1.332 MB / 1.567 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001842/4.101, allocations: 0.5893 MB / 1.568 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009751/4.102, allocations: 0.7229 MB / 1.569 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.182e-06/4.102, allocations: 0 / 1.569 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08596/4.187, allocations: 45.19 MB / 1.613 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/4.188, allocations: 232.8 kB / 1.613 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.297/8.485, allocations: 4 kB / 1.613 GB, free: 40.32 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat does not exist to compare? outputFormat=mat