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.007206/0.007206, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.499/1.499, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0007549/0.0007549, allocations: 82.38 kB / 269.6 MB, free: 13.34 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.7002/0.7002, allocations: 90.6 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 8 kB / 485.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3369, allocations: 66.28 MB / 0.5386 GB, free: 45.58 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.0698/0.4067, allocations: 78.22 MB / 0.615 GB, free: 10.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.4206, allocations: 9.862 MB / 0.6246 GB, free: 2.809 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.4223, allocations: 19.06 kB / 0.6246 GB, free: 2.805 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.4245, allocations: 0.5496 MB / 0.6252 GB, free: 2.355 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009419/0.4339, allocations: 2.975 MB / 0.6281 GB, free: 188 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005214/0.4392, allocations: 1.715 MB / 0.6297 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.4419, allocations: 2.173 MB / 0.6319 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007691/0.4427, allocations: 403.1 kB / 0.6323 GB, free: 11.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006404/0.4491, allocations: 3.678 MB / 0.6358 GB, free: 8.246 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.4505, allocations: 0.743 MB / 0.6366 GB, free: 7.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.4508, allocations: 56 kB / 0.6366 GB, free: 7.445 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.4629, allocations: 6.655 MB / 0.6431 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004408/0.4634, allocations: 238.9 kB / 0.6434 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007622/0.4642, allocations: 277 kB / 0.6436 GB, free: 276 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005676/0.4699, allocations: 2.525 MB / 0.6461 GB, free: 13.74 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4699, allocations: 3.938 kB / 0.6461 GB, free: 13.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4699, allocations: 0 / 0.6461 GB, free: 13.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.087e-05/0.47, allocations: 0 / 0.6461 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.005012/0.4751, allocations: 1.98 MB / 0.648 GB, free: 11.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4751, allocations: 8.031 kB / 0.648 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.4768, allocations: 250.2 kB / 0.6483 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.478, allocations: 0.6472 MB / 0.6489 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/0.4781, allocations: 86.17 kB / 0.649 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.4784, allocations: 124.9 kB / 0.6491 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.4816, allocations: 1.315 MB / 0.6504 GB, free: 9.195 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.4816, allocations: 0 / 0.6504 GB, free: 9.195 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.4817, allocations: 44 kB / 0.6504 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/0.4818, allocations: 50.23 kB / 0.6505 GB, free: 9.102 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.4843, allocations: 1.102 MB / 0.6515 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007578/0.4919, allocations: 5.234 MB / 0.6567 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.4942, allocations: 1.236 MB / 0.6579 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009933/0.4952, allocations: 0.5793 MB / 0.6584 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003258/0.4985, allocations: 4.303 MB / 0.6626 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.4985, allocations: 51.5 kB / 0.6627 GB, free: 11.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=106): time 2.876e-06/0.4986, allocations: 0 / 0.6627 GB, free: 11.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.01001/0.5086, allocations: 4.339 MB / 0.6669 GB, free: 6.707 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.5086, allocations: 64.34 kB / 0.667 GB, free: 6.633 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.5094, allocations: 0.6414 MB / 0.6676 GB, free: 5.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.5095, allocations: 49.64 kB / 0.6677 GB, free: 5.926 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.5098, allocations: 499.9 kB / 0.6681 GB, free: 5.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.5102, allocations: 394.2 kB / 0.6685 GB, free: 5.039 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.5103, allocations: 24 kB / 0.6685 GB, free: 5.016 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5104, allocations: 349.9 kB / 0.6689 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008833/0.5113, allocations: 434.4 kB / 0.6693 GB, free: 4.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/0.5122, allocations: 0.5683 MB / 0.6698 GB, free: 3.633 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.001169/0.5134, allocations: 0.742 MB / 0.6706 GB, free: 2.844 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5134, allocations: 4 kB / 0.6706 GB, free: 2.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002773/0.5162, allocations: 1.457 MB / 0.672 GB, free: 1.359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5162, allocations: 4 kB / 0.672 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5163, allocations: 4 kB / 0.672 GB, free: 1.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007146/0.517, allocations: 239.8 kB / 0.6722 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/0.5179, allocations: 235.7 kB / 0.6724 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004956/0.5229, allocations: 5.286 MB / 0.6776 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.5236, allocations: 48.02 kB / 0.6777 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.5237, allocations: 67.97 kB / 0.6777 GB, free: 11.09 MB / 0.4948 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.0005124/0.5242, allocations: 291.8 kB / 0.678 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.5244, allocations: 102.7 kB / 0.6781 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.5276, allocations: 1.572 MB / 0.6796 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5277, allocations: 12 kB / 0.6796 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.5277, allocations: 4 kB / 0.6796 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5277, allocations: 7.922 kB / 0.6797 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/0.5329, allocations: 3.166 MB / 0.6827 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.5329, allocations: 0 / 0.6827 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008548/0.5338, allocations: 199.7 kB / 0.6829 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007203/0.5345, allocations: 254.3 kB / 0.6832 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.5346, allocations: 49.27 kB / 0.6832 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.5394, allocations: 5.296 MB / 0.6884 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5394, allocations: 0 / 0.6884 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.5431, allocations: 2.052 MB / 0.6904 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.5434, allocations: 171.8 kB / 0.6906 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.5435, allocations: 27.98 kB / 0.6906 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007138/0.5443, allocations: 75.8 kB / 0.6907 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.5445, allocations: 104.8 kB / 0.6908 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.5446, allocations: 59.95 kB / 0.6908 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005862/0.5452, allocations: 443 kB / 0.6912 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5452, allocations: 0 / 0.6912 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002513/0.5477, allocations: 0.867 MB / 0.6921 GB, free: 11.76 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.002634/0.5504, allocations: 1.186 MB / 0.6932 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.5534, allocations: 1.698 MB / 0.6949 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5534, allocations: 0 / 0.6949 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.5553, allocations: 1.173 MB / 0.6961 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.5567, allocations: 284.5 kB / 0.6963 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.5614, allocations: 3.386 MB / 0.6996 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/0.5622, allocations: 1.136 MB / 0.7007 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009317/0.5631, allocations: 237.6 kB / 0.701 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.5635, allocations: 123.3 kB / 0.7011 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/0.5635, allocations: 0 / 0.7011 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of Templates: time 0.0454/0.609, allocations: 28.78 MB / 0.7292 GB, free: 5.82 MB / 0.5417 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)