Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007824/0.007823, allocations: 169.5 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.376/1.376, allocations: 205.4 MB / 221.3 MB, free: 13.73 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.0006712/0.0006712, allocations: 86.3 kB / 269.6 MB, free: 13.26 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.6714/0.6714, allocations: 90.6 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 8 kB / 485.4 MB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3429, allocations: 66.27 MB / 0.5387 GB, free: 45.04 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.07382/0.4168, allocations: 84.11 MB / 0.6208 GB, free: 5.809 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008295/0.4251, allocations: 4.194 MB / 0.6249 GB, free: 2.312 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.4281, allocations: 30.19 kB / 0.625 GB, free: 2.301 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.4308, allocations: 0.6359 MB / 0.6256 GB, free: 1.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.4418, allocations: 3.59 MB / 0.6291 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.4532, allocations: 4.238 MB / 0.6332 GB, free: 10.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005496/0.4587, allocations: 3.564 MB / 0.6367 GB, free: 7.309 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008532/0.4596, allocations: 424.6 kB / 0.6371 GB, free: 6.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.4723, allocations: 7.867 MB / 0.6448 GB, free: 15.05 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.474, allocations: 1.058 MB / 0.6458 GB, free: 13.99 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.4743, allocations: 64 kB / 0.6459 GB, free: 13.93 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0182/0.4925, allocations: 9.917 MB / 0.6556 GB, free: 4 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.4932, allocations: 270.6 kB / 0.6558 GB, free: 3.734 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.4939, allocations: 360.8 kB / 0.6562 GB, free: 3.375 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008368/0.5023, allocations: 3.777 MB / 0.6599 GB, free: 15.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5023, allocations: 0 / 0.6599 GB, free: 15.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5023, allocations: 0 / 0.6599 GB, free: 15.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.922e-05/0.5024, allocations: 4 kB / 0.6599 GB, free: 15.59 MB / 490.7 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.005465/0.5079, allocations: 2.649 MB / 0.6624 GB, free: 12.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.5079, allocations: 12.03 kB / 0.6625 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002678/0.5082, allocations: 219.9 kB / 0.6627 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.51, allocations: 341.4 kB / 0.663 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.5111, allocations: 0.803 MB / 0.6638 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/0.5112, allocations: 115.9 kB / 0.6639 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.5114, allocations: 155.9 kB / 0.664 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.5148, allocations: 1.631 MB / 0.6656 GB, free: 9.477 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.5148, allocations: 4 kB / 0.6656 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.515, allocations: 64 kB / 0.6657 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.515, allocations: 43.95 kB / 0.6657 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.5179, allocations: 1.203 MB / 0.6669 GB, free: 8.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008228/0.5262, allocations: 7.533 MB / 0.6743 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.5291, allocations: 1.272 MB / 0.6755 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/0.5301, allocations: 0.5253 MB / 0.676 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003878/0.534, allocations: 3.904 MB / 0.6798 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.5341, allocations: 47.88 kB / 0.6799 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=141): time 5.02e-06/0.5341, allocations: 4 kB / 0.6799 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.0161/0.5502, allocations: 5.798 MB / 0.6855 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.5503, allocations: 64.72 kB / 0.6856 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.5514, allocations: 0.9913 MB / 0.6866 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.5515, allocations: 45.7 kB / 0.6866 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.552, allocations: 0.719 MB / 0.6873 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.5523, allocations: 0.512 MB / 0.6878 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.5524, allocations: 28 kB / 0.6878 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5525, allocations: 365.9 kB / 0.6882 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.5536, allocations: 0.5426 MB / 0.6887 GB, free: 200 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.5549, allocations: 0.8309 MB / 0.6895 GB, free: 15.26 MB / 0.5105 GB 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.001484/0.5564, allocations: 0.983 MB / 0.6905 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5564, allocations: 0 / 0.6905 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003593/0.56, allocations: 1.875 MB / 0.6923 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.56, allocations: 8 kB / 0.6923 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.5601, allocations: 9.172 kB / 0.6923 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.5607, allocations: 197.5 kB / 0.6925 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.5619, allocations: 347.5 kB / 0.6929 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.5672, allocations: 8.098 MB / 0.7008 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.5683, allocations: 91.92 kB / 0.7009 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.5686, allocations: 108 kB / 0.701 GB, free: 2.652 MB / 0.5105 GB 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 (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0005872/0.5692, allocations: 318.2 kB / 0.7013 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.5694, allocations: 154.1 kB / 0.7014 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/0.5737, allocations: 1.995 MB / 0.7034 GB, free: 200 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002675/0.5764, allocations: 1.433 MB / 0.7048 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5764, allocations: 4 kB / 0.7048 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.5765, allocations: 11.92 kB / 0.7048 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006073/0.5825, allocations: 3.475 MB / 0.7082 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5826, allocations: 0 / 0.7082 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.5837, allocations: 281.1 kB / 0.7084 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/0.5842, allocations: 188.9 kB / 0.7086 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.5843, allocations: 67.95 kB / 0.7087 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005444/0.5898, allocations: 8.1 MB / 0.7166 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5898, allocations: 0 / 0.7166 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/0.5944, allocations: 2.497 MB / 0.719 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.5948, allocations: 211.2 kB / 0.7192 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.595, allocations: 32 kB / 0.7193 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.5958, allocations: 85.83 kB / 0.7193 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.596, allocations: 141.1 kB / 0.7195 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/0.5962, allocations: 95.91 kB / 0.7196 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000776/0.597, allocations: 0.6524 MB / 0.7202 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.597, allocations: 4 kB / 0.7202 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003055/0.6001, allocations: 1.281 MB / 0.7215 GB, free: 12.65 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (129): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.008004/0.6081, allocations: 4.707 MB / 0.7261 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003813/0.6119, allocations: 2.575 MB / 0.7286 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6119, allocations: 1.125 kB / 0.7286 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.6143, allocations: 1.896 MB / 0.7304 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.616, allocations: 354 kB / 0.7308 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.6322, allocations: 10.75 MB / 0.7413 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/0.6331, allocations: 1.301 MB / 0.7425 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001451/0.6346, allocations: 374.9 kB / 0.7429 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009545/0.6355, allocations: 0.7453 MB / 0.7436 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/0.6355, allocations: 0 / 0.7436 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2865/0.9221, allocations: 56.99 MB / 0.7993 GB, free: 150.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.9223, allocations: 291.5 kB / 0.7996 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.782/4.704, allocations: 4 kB / 0.7996 GB, free: 149.9 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_ConductionElement.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat does not exist to compare? outputFormat=mat