Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008567/0.0008569, allocations: 174.6 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007584/0.0007583, allocations: 86.3 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8692/0.8692, allocations: 90.6 MB / 409.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 8 kB / 485.9 MB, free: 2.098 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4149, allocations: 66.28 MB / 0.5392 GB, free: 45.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.08108/0.496, allocations: 78.23 MB / 0.6156 GB, free: 10.72 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.5108, allocations: 9.852 MB / 0.6252 GB, free: 2.832 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.5126, allocations: 17.69 kB / 0.6253 GB, free: 2.828 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.5145, allocations: 0.5535 MB / 0.6258 GB, free: 2.375 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.5246, allocations: 2.973 MB / 0.6287 GB, free: 200 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00559/0.5302, allocations: 1.727 MB / 0.6304 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003401/0.5336, allocations: 2.165 MB / 0.6325 GB, free: 12.31 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006894/0.5343, allocations: 406.8 kB / 0.6329 GB, free: 11.94 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00665/0.541, allocations: 3.682 MB / 0.6365 GB, free: 8.25 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.5422, allocations: 0.7314 MB / 0.6372 GB, free: 7.516 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.5423, allocations: 60 kB / 0.6373 GB, free: 7.457 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/0.5554, allocations: 6.655 MB / 0.6438 GB, free: 0.793 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.5557, allocations: 238.9 kB / 0.644 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005519/0.5563, allocations: 277 kB / 0.6442 GB, free: 288 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005559/0.5619, allocations: 2.533 MB / 0.6467 GB, free: 13.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5619, allocations: 0 / 0.6467 GB, free: 13.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.5619, allocations: 3.938 kB / 0.6467 GB, free: 13.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.5619, allocations: 0 / 0.6467 GB, free: 13.74 MB / 474.7 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.004407/0.5664, allocations: 1.973 MB / 0.6486 GB, free: 11.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5664, allocations: 8.031 kB / 0.6487 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.5678, allocations: 250.2 kB / 0.6489 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.5688, allocations: 0.649 MB / 0.6495 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/0.5689, allocations: 94.16 kB / 0.6496 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.5691, allocations: 123.9 kB / 0.6497 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.5717, allocations: 1.304 MB / 0.651 GB, free: 9.211 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.5717, allocations: 0 / 0.651 GB, free: 9.211 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.5719, allocations: 43.98 kB / 0.651 GB, free: 9.168 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-05/0.5719, allocations: 50.25 kB / 0.6511 GB, free: 9.117 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.5744, allocations: 1.103 MB / 0.6522 GB, free: 8.008 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007168/0.5816, allocations: 5.24 MB / 0.6573 GB, free: 2.414 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.5838, allocations: 1.24 MB / 0.6585 GB, free: 1.098 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.5849, allocations: 0.5749 MB / 0.6591 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003409/0.5883, allocations: 4.303 MB / 0.6633 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.5883, allocations: 47.52 kB / 0.6633 GB, free: 11.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=106): time 4.358e-06/0.5883, allocations: 0 / 0.6633 GB, free: 11.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.01037/0.5987, allocations: 4.333 MB / 0.6675 GB, free: 6.723 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.5988, allocations: 64.41 kB / 0.6676 GB, free: 6.648 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008297/0.5996, allocations: 0.6336 MB / 0.6682 GB, free: 6.004 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.5997, allocations: 49.7 kB / 0.6683 GB, free: 5.949 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.6001, allocations: 0.5037 MB / 0.6688 GB, free: 5.438 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.6005, allocations: 390.2 kB / 0.6691 GB, free: 5.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.6006, allocations: 24 kB / 0.6692 GB, free: 5.027 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6007, allocations: 353.9 kB / 0.6695 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008645/0.6016, allocations: 426.4 kB / 0.6699 GB, free: 4.258 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/0.6026, allocations: 0.5683 MB / 0.6705 GB, free: 3.648 MB / 490.7 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.00117/0.6038, allocations: 0.7515 MB / 0.6712 GB, free: 2.852 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6038, allocations: 0 / 0.6712 GB, free: 2.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002849/0.6066, allocations: 1.457 MB / 0.6726 GB, free: 1.371 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6067, allocations: 8 kB / 0.6726 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6067, allocations: 4 kB / 0.6726 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007264/0.6074, allocations: 235.8 kB / 0.6728 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/0.6083, allocations: 235.7 kB / 0.6731 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.6136, allocations: 5.287 MB / 0.6782 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.6144, allocations: 51.97 kB / 0.6783 GB, free: 11.16 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6145, allocations: 63.97 kB / 0.6783 GB, free: 11.1 MB / 0.4949 GB 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: 14 * 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005594/0.6151, allocations: 289.3 kB / 0.6786 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.6153, allocations: 102.7 kB / 0.6787 GB, free: 10.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.6187, allocations: 1.577 MB / 0.6803 GB, free: 9.129 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.6187, allocations: 15.94 kB / 0.6803 GB, free: 9.113 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6187, allocations: 4 kB / 0.6803 GB, free: 9.109 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.6188, allocations: 3.984 kB / 0.6803 GB, free: 9.105 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/0.6244, allocations: 3.158 MB / 0.6834 GB, free: 5.801 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6244, allocations: 4 kB / 0.6834 GB, free: 5.797 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/0.6253, allocations: 203.7 kB / 0.6836 GB, free: 5.598 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/0.626, allocations: 246.3 kB / 0.6838 GB, free: 5.348 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/0.6261, allocations: 51.97 kB / 0.6839 GB, free: 5.297 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.6312, allocations: 5.288 MB / 0.689 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.6312, allocations: 8 kB / 0.689 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/0.6351, allocations: 2.058 MB / 0.691 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.6354, allocations: 167.9 kB / 0.6912 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6356, allocations: 24 kB / 0.6912 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.6363, allocations: 75.8 kB / 0.6913 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.6365, allocations: 100.8 kB / 0.6914 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.6366, allocations: 55.97 kB / 0.6914 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005954/0.6372, allocations: 443 kB / 0.6919 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6372, allocations: 0 / 0.6919 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002696/0.6399, allocations: 0.8709 MB / 0.6927 GB, free: 11.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002441/0.6424, allocations: 1.193 MB / 0.6939 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003128/0.6455, allocations: 1.69 MB / 0.6955 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6455, allocations: 0 / 0.6955 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.6474, allocations: 1.176 MB / 0.6967 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.649, allocations: 287.5 kB / 0.6969 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.6539, allocations: 3.423 MB / 0.7003 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.6547, allocations: 1.136 MB / 0.7014 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.6551, allocations: 135.3 kB / 0.7015 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/0.6551, allocations: 4 kB / 0.7015 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of Templates: time 0.05323/0.7084, allocations: 39.75 MB / 0.7404 GB, free: 11.01 MB / 0.5574 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1)