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 (/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.0008964/0.0008963, allocations: 86.95 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.001143/0.001143, 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.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6664/0.6664, allocations: 89.62 MB / 380.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004083, allocations: 16.09 kB / 460 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1273, allocations: 68.82 MB / 0.5165 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3805/0.5079, allocations: 71.17 MB / 0.586 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.5196, allocations: 9.43 MB / 0.5952 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.5213, allocations: 17.69 kB / 0.5952 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.5234, allocations: 0.5601 MB / 0.5957 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008167/0.5316, allocations: 2.488 MB / 0.5982 GB, free: 8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003889/0.5355, allocations: 1.133 MB / 0.5993 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.5383, allocations: 2.137 MB / 0.6013 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006489/0.539, allocations: 404.4 kB / 0.6017 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007476/0.5465, allocations: 3.706 MB / 0.6054 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.5479, allocations: 0.7313 MB / 0.6061 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.5481, allocations: 57.66 kB / 0.6061 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008672/0.5568, allocations: 4.214 MB / 0.6102 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.5571, allocations: 232.6 kB / 0.6105 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.558, allocations: 274.7 kB / 0.6107 GB, free: 22.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.5608, allocations: 1.771 MB / 0.6124 GB, free: 22.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.5608, allocations: 0 / 0.6124 GB, free: 22.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5608, allocations: 0 / 0.6124 GB, free: 22.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.5609, allocations: 0 / 0.6124 GB, free: 22.27 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.003005/0.5639, allocations: 1.756 MB / 0.6142 GB, free: 21.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5639, allocations: 9.812 kB / 0.6142 GB, free: 21.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.5657, allocations: 290.9 kB / 0.6145 GB, free: 21.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/0.5666, allocations: 0.6585 MB / 0.6151 GB, free: 20.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.5667, allocations: 85.94 kB / 0.6152 GB, free: 20.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.5669, allocations: 137.4 kB / 0.6153 GB, free: 20.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.5693, allocations: 1.289 MB / 0.6166 GB, free: 20.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.5693, allocations: 10.45 kB / 0.6166 GB, free: 20.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.5694, allocations: 47.38 kB / 0.6166 GB, free: 20.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.5695, allocations: 49.98 kB / 0.6167 GB, free: 20.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.5716, allocations: 1.082 MB / 0.6177 GB, free: 19.98 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007088/0.5787, allocations: 5.496 MB / 0.6231 GB, free: 16.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.5807, allocations: 1.09 MB / 0.6242 GB, free: 16.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/0.5815, allocations: 0.5564 MB / 0.6247 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/0.5831, allocations: 2.414 MB / 0.6271 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.5831, allocations: 48.61 kB / 0.6271 GB, free: 13.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.407e-06/0.5831, allocations: 0 / 0.6271 GB, free: 13.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.007235/0.5904, allocations: 3.709 MB / 0.6307 GB, free: 11.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.5905, allocations: 63.78 kB / 0.6308 GB, free: 11.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008435/0.5913, allocations: 0.7564 MB / 0.6315 GB, free: 11.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.5914, allocations: 44.3 kB / 0.6316 GB, free: 11.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.5917, allocations: 0.5165 MB / 0.6321 GB, free: 10.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.592, allocations: 366 kB / 0.6324 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.592, allocations: 23.25 kB / 0.6324 GB, free: 10.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5922, allocations: 347.4 kB / 0.6328 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.5929, allocations: 418.9 kB / 0.6332 GB, free: 10.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000782/0.5937, allocations: 0.5575 MB / 0.6337 GB, free: 9.953 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.001096/0.5948, allocations: 0.721 MB / 0.6344 GB, free: 9.422 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5948, allocations: 0 / 0.6344 GB, free: 9.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002464/0.5973, allocations: 1.417 MB / 0.6358 GB, free: 8.684 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.5973, allocations: 9 kB / 0.6358 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5973, allocations: 3.344 kB / 0.6358 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006933/0.598, allocations: 230.7 kB / 0.636 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/0.5989, allocations: 235.1 kB / 0.6363 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005188/0.6041, allocations: 5.284 MB / 0.6414 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.6052, allocations: 61.53 kB / 0.6415 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.6054, allocations: 50.27 kB / 0.6415 GB, free: 3.5 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 {(3,77.8%) 15,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000615/0.606, allocations: 285.5 kB / 0.6418 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.6062, allocations: 106.8 kB / 0.6419 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.6094, allocations: 1.549 MB / 0.6434 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.6094, allocations: 12 kB / 0.6434 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.6094, allocations: 7.953 kB / 0.6434 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6094, allocations: 3.984 kB / 0.6434 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/0.6151, allocations: 3.82 MB / 0.6472 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6152, allocations: 0 / 0.6472 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.616, allocations: 203.7 kB / 0.6474 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007277/0.6167, allocations: 256.7 kB / 0.6476 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.962e-05/0.6168, allocations: 43.95 kB / 0.6476 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005512/0.6224, allocations: 5.293 MB / 0.6528 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.6224, allocations: 7.938 kB / 0.6528 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.6259, allocations: 1.987 MB / 0.6548 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.6262, allocations: 171.8 kB / 0.6549 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6264, allocations: 35.98 kB / 0.655 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.627, allocations: 71.8 kB / 0.655 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.6272, allocations: 98.94 kB / 0.6551 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-05/0.6273, allocations: 47.97 kB / 0.6552 GB, free: 4.715 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006654/0.628, allocations: 0.5146 MB / 0.6557 GB, free: 4.207 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.628, allocations: 0 / 0.6557 GB, free: 4.207 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001605/0.6296, allocations: 0.4998 MB / 0.6562 GB, free: 3.707 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,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 {(4,75.0%) 14,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.6307, allocations: 0.5819 MB / 0.6567 GB, free: 3.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.6334, allocations: 1.501 MB / 0.6582 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6335, allocations: 2.625 kB / 0.6582 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.6351, allocations: 1.037 MB / 0.6592 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.6367, allocations: 324.5 kB / 0.6595 GB, free: 244 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.6412, allocations: 3.311 MB / 0.6628 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.642, allocations: 1.129 MB / 0.6639 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.6433, allocations: 326.1 kB / 0.6642 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.6436, allocations: 119.3 kB / 0.6643 GB, free: 11.28 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6437, allocations: 0 / 0.6643 GB, free: 11.28 MB / 494.1 MB Notification: Performance of Templates: time 0.04143/0.6851, allocations: 22.87 MB / 0.6866 GB, free: 4.66 MB / 0.4981 GB 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)