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.01213/0.01213, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.594/1.594, allocations: 223.2 MB / 239 MB, free: 1.812 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 99.89 kB / 290.2 MB, free: 13.96 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.01641/0.01641, allocations: 1.547 MB / 342.9 MB, free: 9.297 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7997/0.7997, allocations: 90.31 MB / 484.6 MB, free: 21.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005504/0.0005501, allocations: 19.41 kB / 0.5527 GB, free: 30.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1856, allocations: 69.36 MB / 0.6204 GB, free: 5.566 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7594/0.9451, allocations: 276.6 MB / 0.8905 GB, free: 7.32 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.9455, allocations: 86.39 kB / 0.8906 GB, free: 7.273 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.759/3.704, allocations: 0.6169 GB / 1.508 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/3.704, allocations: 2.062 kB / 1.508 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002841/3.705, allocations: 53.81 kB / 1.508 GB, free: 89.76 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.01211/3.717, allocations: 3.028 MB / 1.511 GB, free: 88.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.752e-05/3.717, allocations: 14.33 kB / 1.511 GB, free: 88.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008634/3.718, allocations: 217.7 kB / 1.511 GB, free: 88.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/3.721, allocations: 389.5 kB / 1.511 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/3.724, allocations: 0.9083 MB / 1.512 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/3.724, allocations: 121.1 kB / 1.512 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005558/3.724, allocations: 158.3 kB / 1.512 GB, free: 87.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005494/3.73, allocations: 1.617 MB / 1.514 GB, free: 87.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.81e-05/3.73, allocations: 6.828 kB / 1.514 GB, free: 87.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/3.73, allocations: 63.41 kB / 1.514 GB, free: 87.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-05/3.73, allocations: 43.95 kB / 1.514 GB, free: 87.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004079/3.734, allocations: 1.197 MB / 1.515 GB, free: 87.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/3.747, allocations: 7.592 MB / 1.523 GB, free: 83.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/3.75, allocations: 1.257 MB / 1.524 GB, free: 83.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00201/3.752, allocations: 2.658 MB / 1.526 GB, free: 80.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.09e-05/3.752, allocations: 49.06 kB / 1.526 GB, free: 80.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=141): time 6.062e-06/3.752, allocations: 0 / 1.526 GB, free: 80.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.01469/3.767, allocations: 6.212 MB / 1.532 GB, free: 77.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/3.767, allocations: 66.59 kB / 1.533 GB, free: 77.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/3.769, allocations: 0.8559 MB / 1.533 GB, free: 76.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/3.769, allocations: 48.2 kB / 1.533 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/3.769, allocations: 0.7159 MB / 1.534 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/3.77, allocations: 0.507 MB / 1.535 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/3.77, allocations: 34.62 kB / 1.535 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001316/3.77, allocations: 365.3 kB / 1.535 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/3.771, allocations: 0.5265 MB / 1.536 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/3.773, allocations: 0.8084 MB / 1.536 GB, free: 75.64 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.001583/3.774, allocations: 0.9661 MB / 1.537 GB, free: 75.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/3.774, allocations: 6.266 kB / 1.537 GB, free: 75.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003886/3.778, allocations: 1.824 MB / 1.539 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/3.778, allocations: 11.91 kB / 1.539 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/3.778, allocations: 6.312 kB / 1.539 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/3.779, allocations: 201.9 kB / 1.539 GB, free: 74.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/3.78, allocations: 341 kB / 1.54 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/3.785, allocations: 8.15 MB / 1.548 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/3.787, allocations: 94.05 kB / 1.548 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004058/3.787, allocations: 79.58 kB / 1.548 GB, free: 67.05 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 () * Number of clocked 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.001161/3.788, allocations: 311.5 kB / 1.548 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/3.789, allocations: 148 kB / 1.548 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/3.794, allocations: 2.141 MB / 1.55 GB, free: 66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002777/3.797, allocations: 1.394 MB / 1.552 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/3.797, allocations: 3.875 kB / 1.552 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/3.797, allocations: 11.2 kB / 1.552 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007576/3.804, allocations: 3.414 MB / 1.555 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/3.805, allocations: 2.875 kB / 1.555 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/3.806, allocations: 274.8 kB / 1.555 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006098/3.806, allocations: 188.9 kB / 1.555 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/3.807, allocations: 57.86 kB / 1.555 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/3.812, allocations: 8.176 MB / 1.563 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/3.812, allocations: 0 / 1.563 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005177/3.817, allocations: 2.551 MB / 1.566 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/3.818, allocations: 206.2 kB / 1.566 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004954/3.818, allocations: 32 kB / 1.566 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/3.82, allocations: 81.05 kB / 1.566 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/3.82, allocations: 142.4 kB / 1.566 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/3.82, allocations: 61.33 kB / 1.566 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001052/3.821, allocations: 0.6485 MB / 1.567 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/3.821, allocations: 3.625 kB / 1.567 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003622/3.825, allocations: 0.7649 MB / 1.568 GB, free: 51.16 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 () * Number of clocked 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.007558/3.833, allocations: 4.38 MB / 1.572 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004034/3.837, allocations: 2.538 MB / 1.575 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/3.837, allocations: 0 / 1.575 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/3.839, allocations: 1.85 MB / 1.576 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/3.841, allocations: 324.7 kB / 1.577 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/3.863, allocations: 15.58 MB / 1.592 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/3.864, allocations: 1.337 MB / 1.593 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002021/3.866, allocations: 0.5814 MB / 1.594 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/3.867, allocations: 0.7228 MB / 1.594 GB, free: 25.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.813e-06/3.867, allocations: 4 kB / 1.594 GB, free: 25.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5056/4.373, allocations: 45.09 MB / 1.638 GB, free: 93.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/4.373, allocations: 256.5 kB / 1.639 GB, free: 92.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.909/8.282, allocations: 0.9062 kB / 1.639 GB, free: 92.72 MB / 0.6198 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