Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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: translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001132/0.001133, allocations: 177.3 kB / 15.94 MB, free: 228 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7325/0.7325, allocations: 89.62 MB / 380.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 13.67 kB / 459.9 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 68.83 MB / 0.5163 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.05691/0.2183, allocations: 49.9 MB / 0.5651 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3353/0.5537, allocations: 9.976 MB / 0.5748 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.5556, allocations: 20.09 kB / 0.5748 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.5578, allocations: 0.5588 MB / 0.5754 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008432/0.5663, allocations: 2.515 MB / 0.5778 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.5697, allocations: 1.151 MB / 0.579 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.5725, allocations: 1.323 MB / 0.5802 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.5732, allocations: 402.9 kB / 0.5806 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007249/0.5805, allocations: 3.405 MB / 0.584 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.5822, allocations: 0.6299 MB / 0.5846 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.5824, allocations: 57.16 kB / 0.5846 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009439/0.5918, allocations: 4.185 MB / 0.5887 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006074/0.5925, allocations: 240.1 kB / 0.5889 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.5937, allocations: 277.5 kB / 0.5892 GB, free: 23.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.598, allocations: 1.75 MB / 0.5909 GB, free: 23.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5981, allocations: 0 / 0.5909 GB, free: 23.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5981, allocations: 0 / 0.5909 GB, free: 23.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.5981, allocations: 3.188 kB / 0.5909 GB, free: 23.54 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003928/0.602, allocations: 1.75 MB / 0.5926 GB, free: 22.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6021, allocations: 9.594 kB / 0.5926 GB, free: 22.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.6042, allocations: 284.1 kB / 0.5929 GB, free: 22.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.6055, allocations: 0.6685 MB / 0.5936 GB, free: 22.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.43e-05/0.6056, allocations: 87.28 kB / 0.5936 GB, free: 22.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.6058, allocations: 121.6 kB / 0.5938 GB, free: 22.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.6088, allocations: 1.294 MB / 0.595 GB, free: 22.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.6088, allocations: 1.25 kB / 0.595 GB, free: 22.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.6089, allocations: 49 kB / 0.5951 GB, free: 22.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.789e-05/0.609, allocations: 48.08 kB / 0.5951 GB, free: 22.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.6113, allocations: 1.086 MB / 0.5962 GB, free: 22.06 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008211/0.6196, allocations: 5.513 MB / 0.6016 GB, free: 19.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.6217, allocations: 1.085 MB / 0.6026 GB, free: 19.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/0.6234, allocations: 2.412 MB / 0.605 GB, free: 16.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.6234, allocations: 45.91 kB / 0.605 GB, free: 16.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 4.077e-06/0.6234, allocations: 0 / 0.605 GB, free: 16.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.00807/0.6315, allocations: 3.76 MB / 0.6087 GB, free: 14.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.6316, allocations: 64.22 kB / 0.6088 GB, free: 14.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000888/0.6325, allocations: 0.7547 MB / 0.6095 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/0.6326, allocations: 44.83 kB / 0.6095 GB, free: 14.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.6329, allocations: 0.5167 MB / 0.61 GB, free: 14.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.6331, allocations: 365.5 kB / 0.6104 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.6332, allocations: 23.66 kB / 0.6104 GB, free: 13.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6333, allocations: 354.1 kB / 0.6107 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/0.6341, allocations: 408.4 kB / 0.6111 GB, free: 13.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008527/0.635, allocations: 0.5488 MB / 0.6117 GB, free: 13.21 MB / 462.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: conductionElement4.deltaE_system = 0.0 ($START.conductionElement4.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: conductionElement2.deltaE_system = 0.0 ($START.conductionElement2.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.001192/0.6362, allocations: 0.7335 MB / 0.6124 GB, free: 12.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6362, allocations: 1.188 kB / 0.6124 GB, free: 12.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002555/0.6387, allocations: 1.423 MB / 0.6138 GB, free: 12.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6388, allocations: 10.59 kB / 0.6138 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6388, allocations: 3 kB / 0.6138 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006926/0.6395, allocations: 250.1 kB / 0.614 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.6404, allocations: 240.3 kB / 0.6143 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.6457, allocations: 5.375 MB / 0.6195 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6468, allocations: 53.08 kB / 0.6196 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.647, allocations: 55.2 kB / 0.6196 GB, free: 8.281 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: conductionElement4.deltaE_system = 0.0 conductionElement2.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (114): * Single equations (assignments): 111 * 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: 3 {(4,87.5%) 14,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000676/0.6476, allocations: 281.2 kB / 0.6199 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.6478, allocations: 111 kB / 0.62 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.651, allocations: 1.571 MB / 0.6215 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.651, allocations: 15.8 kB / 0.6215 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.651, allocations: 2.906 kB / 0.6215 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.651, allocations: 3.984 kB / 0.6215 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005608/0.6567, allocations: 3.776 MB / 0.6252 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.6567, allocations: 6.922 kB / 0.6252 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/0.6575, allocations: 194.4 kB / 0.6254 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006836/0.6582, allocations: 274.2 kB / 0.6257 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.248e-05/0.6583, allocations: 37.72 kB / 0.6257 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004881/0.6632, allocations: 5.384 MB / 0.631 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6632, allocations: 3 kB / 0.631 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.6667, allocations: 2.124 MB / 0.6331 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.6671, allocations: 182 kB / 0.6332 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6673, allocations: 29.16 kB / 0.6333 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.668, allocations: 65.58 kB / 0.6333 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.6682, allocations: 94.75 kB / 0.6334 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.186e-05/0.6683, allocations: 53.33 kB / 0.6335 GB, free: 192 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006674/0.669, allocations: 0.5107 MB / 0.634 GB, free: 24 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.669, allocations: 4 kB / 0.634 GB, free: 20 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001808/0.6708, allocations: 0.5038 MB / 0.6345 GB, free: 15.97 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.inlet.m_flow,conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.inlet.m_flow) * 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 (88): * Single equations (assignments): 85 * 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: 3 {(1,100.0%) 3,(1,100.0%) 2,(4,87.5%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/0.672, allocations: 0.5765 MB / 0.635 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.6748, allocations: 1.523 MB / 0.6365 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6748, allocations: 0 / 0.6365 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.6765, allocations: 1.042 MB / 0.6375 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.6782, allocations: 309.4 kB / 0.6378 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.6831, allocations: 3.318 MB / 0.6411 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009046/0.684, allocations: 1.151 MB / 0.6422 GB, free: 9.332 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001305/0.6853, allocations: 326.4 kB / 0.6425 GB, free: 9.012 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.6857, allocations: 112.2 kB / 0.6426 GB, free: 8.918 MB / 478.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6857, allocations: 0 / 0.6426 GB, free: 8.918 MB / 478.1 MB Notification: Performance of Templates: time 0.03898/0.7247, allocations: 22.31 MB / 0.6644 GB, free: 3.027 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1)