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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_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.006661/0.006661, allocations: 167.3 kB / 15.13 MB, free: 6.02 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.389/1.389, 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.000771/0.0007717, allocations: 82.31 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.7026/0.7026, allocations: 90.6 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 12 kB / 485.4 MB, free: 1.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3653, allocations: 66.27 MB / 0.5387 GB, free: 45.61 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.07335/0.4387, allocations: 78.23 MB / 0.6151 GB, free: 10.61 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.4524, allocations: 9.871 MB / 0.6247 GB, free: 2.703 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.4542, allocations: 19.06 kB / 0.6247 GB, free: 2.699 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.4559, allocations: 0.5418 MB / 0.6253 GB, free: 2.258 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009441/0.4654, allocations: 2.972 MB / 0.6282 GB, free: 132 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005318/0.4707, allocations: 1.723 MB / 0.6299 GB, free: 14.42 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.4742, allocations: 2.161 MB / 0.632 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007942/0.475, allocations: 400.4 kB / 0.6323 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006736/0.4817, allocations: 3.69 MB / 0.636 GB, free: 8.184 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.483, allocations: 0.7353 MB / 0.6367 GB, free: 7.445 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.4832, allocations: 56 kB / 0.6367 GB, free: 7.391 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/0.4954, allocations: 6.656 MB / 0.6432 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005933/0.4961, allocations: 227 kB / 0.6434 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.4968, allocations: 285 kB / 0.6437 GB, free: 224 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006541/0.5033, allocations: 2.529 MB / 0.6462 GB, free: 13.69 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5034, allocations: 3.938 kB / 0.6462 GB, free: 13.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5034, allocations: 0 / 0.6462 GB, free: 13.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.5034, allocations: 0 / 0.6462 GB, free: 13.68 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.004382/0.5078, allocations: 1.973 MB / 0.6481 GB, free: 11.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.5079, allocations: 16.03 kB / 0.6481 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002228/0.5081, allocations: 169.3 kB / 0.6483 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.5095, allocations: 250.2 kB / 0.6485 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.5106, allocations: 0.651 MB / 0.6492 GB, free: 10.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.5107, allocations: 94.17 kB / 0.6493 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.5109, allocations: 125.2 kB / 0.6494 GB, free: 10.31 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.5141, allocations: 1.303 MB / 0.6506 GB, free: 8.965 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.5142, allocations: 1.25 kB / 0.6506 GB, free: 8.965 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.5143, allocations: 44 kB / 0.6507 GB, free: 8.922 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.454e-05/0.5144, allocations: 54.17 kB / 0.6507 GB, free: 8.867 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.517, allocations: 1.102 MB / 0.6518 GB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007324/0.5243, allocations: 5.235 MB / 0.6569 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.5266, allocations: 1.241 MB / 0.6581 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009883/0.5276, allocations: 0.571 MB / 0.6587 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003309/0.5309, allocations: 4.303 MB / 0.6629 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.531, allocations: 51.5 kB / 0.6629 GB, free: 11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=106): time 3.778e-06/0.531, allocations: 0 / 0.6629 GB, free: 11 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.009627/0.5406, allocations: 4.335 MB / 0.6672 GB, free: 6.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.5407, allocations: 64.41 kB / 0.6672 GB, free: 6.406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.5414, allocations: 0.649 MB / 0.6679 GB, free: 5.746 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.5415, allocations: 45.7 kB / 0.6679 GB, free: 5.695 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.5418, allocations: 0.496 MB / 0.6684 GB, free: 5.191 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.5421, allocations: 394.2 kB / 0.6688 GB, free: 4.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.5422, allocations: 20 kB / 0.6688 GB, free: 4.781 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5423, allocations: 349.9 kB / 0.6691 GB, free: 4.434 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007898/0.5431, allocations: 430.4 kB / 0.6695 GB, free: 4.012 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.544, allocations: 0.5643 MB / 0.6701 GB, free: 3.406 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.001161/0.5451, allocations: 0.7522 MB / 0.6708 GB, free: 2.605 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5452, allocations: 0 / 0.6708 GB, free: 2.605 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002762/0.5479, allocations: 1.457 MB / 0.6723 GB, free: 1.125 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.548, allocations: 8 kB / 0.6723 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.548, allocations: 4 kB / 0.6723 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007285/0.5487, allocations: 230.5 kB / 0.6725 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/0.5496, allocations: 235.7 kB / 0.6727 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/0.5548, allocations: 5.281 MB / 0.6779 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.5557, allocations: 58.75 kB / 0.6779 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.5558, allocations: 63.97 kB / 0.678 GB, free: 10.86 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.0005534/0.5564, allocations: 294.8 kB / 0.6783 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.5566, allocations: 106.7 kB / 0.6784 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.5598, allocations: 1.57 MB / 0.6799 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.5599, allocations: 12 kB / 0.6799 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5599, allocations: 4 kB / 0.6799 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.5599, allocations: 7.969 kB / 0.6799 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/0.5651, allocations: 3.162 MB / 0.683 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.5652, allocations: 4 kB / 0.683 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/0.566, allocations: 201 kB / 0.6832 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007605/0.5668, allocations: 256.2 kB / 0.6834 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.912e-05/0.5669, allocations: 43.97 kB / 0.6835 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.5723, allocations: 5.292 MB / 0.6887 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5723, allocations: 7.938 kB / 0.6887 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.5761, allocations: 2.061 MB / 0.6907 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.5765, allocations: 163.9 kB / 0.6908 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.5766, allocations: 24 kB / 0.6909 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.5773, allocations: 79.48 kB / 0.6909 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.5776, allocations: 100.8 kB / 0.691 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.5777, allocations: 59.97 kB / 0.6911 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005161/0.5782, allocations: 443 kB / 0.6915 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5782, allocations: 0 / 0.6915 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002409/0.5806, allocations: 0.8709 MB / 0.6924 GB, free: 11.53 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.0062/0.5868, allocations: 3.686 MB / 0.696 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003117/0.59, allocations: 1.687 MB / 0.6976 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.59, allocations: 0 / 0.6976 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.5919, allocations: 1.177 MB / 0.6988 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.5935, allocations: 285.9 kB / 0.699 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.6056, allocations: 7.681 MB / 0.7065 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.6063, allocations: 1.14 MB / 0.7076 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001073/0.6074, allocations: 231.1 kB / 0.7079 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/0.6082, allocations: 0.4953 MB / 0.7083 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/0.6082, allocations: 3.938 kB / 0.7083 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07499/0.6832, allocations: 39.87 MB / 0.7473 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/0.6835, allocations: 266.9 kB / 0.7475 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.218/3.902, allocations: 0 / 0.7475 GB, free: 2.73 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement_res.mat does not exist to compare? outputFormat=mat