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/ModelicaServices 4.0.0+maint.om/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001119, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6791/0.6791, allocations: 89.66 MB / 380.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 6.125 kB / 460.1 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 68.84 MB / 0.5166 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.4111/0.5596, allocations: 76.58 MB / 0.5914 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008635/0.5683, allocations: 4.195 MB / 0.5955 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.571, allocations: 32.44 kB / 0.5955 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.5737, allocations: 0.6476 MB / 0.5961 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.5842, allocations: 2.869 MB / 0.5989 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008757/0.593, allocations: 2.884 MB / 0.6017 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006374/0.5994, allocations: 3.349 MB / 0.605 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.6009, allocations: 434.8 kB / 0.6054 GB, free: 22.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01698/0.6179, allocations: 7.859 MB / 0.6131 GB, free: 21.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.62, allocations: 0.9654 MB / 0.614 GB, free: 21.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002994/0.6203, allocations: 63.78 kB / 0.6141 GB, free: 21.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00816/0.6285, allocations: 3.111 MB / 0.6171 GB, free: 20.46 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.629, allocations: 263.8 kB / 0.6174 GB, free: 20.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009573/0.63, allocations: 360.6 kB / 0.6177 GB, free: 20.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004319/0.6343, allocations: 2.047 MB / 0.6197 GB, free: 19.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6343, allocations: 2.812 kB / 0.6197 GB, free: 19.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6343, allocations: 0 / 0.6197 GB, free: 19.31 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.1e-05/0.6344, allocations: 0 / 0.6197 GB, free: 19.31 MB / 462.1 MB 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.003701/0.6381, allocations: 2.086 MB / 0.6218 GB, free: 17.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6381, allocations: 8.438 kB / 0.6218 GB, free: 17.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.6384, allocations: 222.4 kB / 0.622 GB, free: 17.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.6408, allocations: 379.2 kB / 0.6224 GB, free: 17.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.6419, allocations: 0.7894 MB / 0.6231 GB, free: 17.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/0.642, allocations: 121 kB / 0.6232 GB, free: 17.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.6422, allocations: 159.8 kB / 0.6234 GB, free: 17.22 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/0.645, allocations: 1.618 MB / 0.625 GB, free: 16.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.6451, allocations: 3.938 kB / 0.625 GB, free: 16.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6452, allocations: 67.94 kB / 0.625 GB, free: 16.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.6452, allocations: 37.38 kB / 0.6251 GB, free: 16.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.6476, allocations: 1.123 MB / 0.6262 GB, free: 16.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.659, allocations: 10.49 MB / 0.6364 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.6614, allocations: 1.022 MB / 0.6374 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/0.6621, allocations: 417.5 kB / 0.6378 GB, free: 7.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002847/0.665, allocations: 2.674 MB / 0.6404 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.665, allocations: 43.25 kB / 0.6405 GB, free: 4.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=105): time 3.517e-06/0.665, allocations: 2.625 kB / 0.6405 GB, free: 4.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.01071/0.6758, allocations: 4.042 MB / 0.6444 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.6759, allocations: 64.36 kB / 0.6445 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.6776, allocations: 1.247 MB / 0.6457 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.6777, allocations: 45.7 kB / 0.6457 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006989/0.6784, allocations: 0.7738 MB / 0.6465 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.6787, allocations: 382.9 kB / 0.6469 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.6788, allocations: 28 kB / 0.6469 GB, free: 14.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.6791, allocations: 357.9 kB / 0.6472 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.6802, allocations: 451.8 kB / 0.6477 GB, free: 13.49 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.6814, allocations: 0.7216 MB / 0.6484 GB, free: 12.66 MB / 478.1 MB 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.00144/0.6829, allocations: 0.8716 MB / 0.6492 GB, free: 11.71 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.6829, allocations: 4 kB / 0.6492 GB, free: 11.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003468/0.6864, allocations: 1.617 MB / 0.6508 GB, free: 10.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.6864, allocations: 8 kB / 0.6508 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.6864, allocations: 8 kB / 0.6508 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/0.687, allocations: 189.5 kB / 0.651 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.6882, allocations: 343.5 kB / 0.6513 GB, free: 9.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007154/0.6954, allocations: 8.094 MB / 0.6592 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.6967, allocations: 88.02 kB / 0.6593 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.6969, allocations: 63.98 kB / 0.6594 GB, free: 488 kB / 478.1 MB 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 (162): * Single equations (assignments): 156 * 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: 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.0006424/0.6975, allocations: 305.2 kB / 0.6597 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.6978, allocations: 169.9 kB / 0.6598 GB, free: 0 / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.7017, allocations: 1.712 MB / 0.6615 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.7017, allocations: 15.89 kB / 0.6615 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7017, allocations: 4 kB / 0.6615 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.7018, allocations: 7.984 kB / 0.6615 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/0.7069, allocations: 2.754 MB / 0.6642 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.7069, allocations: 4 kB / 0.6642 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.708, allocations: 243.9 kB / 0.6644 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/0.7085, allocations: 188.9 kB / 0.6646 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/0.7087, allocations: 43.97 kB / 0.6647 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006407/0.7151, allocations: 8.105 MB / 0.6726 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7151, allocations: 4.031 kB / 0.6726 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.719, allocations: 1.965 MB / 0.6745 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.7196, allocations: 242.9 kB / 0.6747 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.7198, allocations: 34.73 kB / 0.6748 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/0.7204, allocations: 63.95 kB / 0.6748 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.7207, allocations: 108.8 kB / 0.6749 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.7208, allocations: 43.97 kB / 0.675 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001164/0.722, allocations: 0.8235 MB / 0.6758 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.722, allocations: 3.938 kB / 0.6758 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001917/0.7239, allocations: 0.5468 MB / 0.6763 GB, free: 14.14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (102): * Single equations (assignments): 96 * 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: 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.005118/0.729, allocations: 2.987 MB / 0.6792 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003485/0.7326, allocations: 1.87 MB / 0.6811 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7326, allocations: 1.125 kB / 0.6811 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.7346, allocations: 1.297 MB / 0.6823 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.7367, allocations: 361 kB / 0.6827 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/0.7549, allocations: 10.3 MB / 0.6927 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.7561, allocations: 1.245 MB / 0.694 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001621/0.7577, allocations: 0.5183 MB / 0.6945 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009394/0.7586, allocations: 0.6633 MB / 0.6951 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of SimCode: time 1.093e-06/0.7587, allocations: 0 / 0.6951 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0721/0.8308, allocations: 39.58 MB / 0.7338 GB, free: 2.949 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.8311, allocations: 271.7 kB / 0.734 GB, free: 2.586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/4.201, allocations: 0 / 0.734 GB, free: 2.586 MB / 0.545 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