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.0008041/0.0008041, allocations: 179.8 kB / 15.45 MB, free: 6.238 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.113/1.113, allocations: 205 MB / 221.2 MB, free: 1.844 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006193/0.0006194, allocations: 102.2 kB / 269.2 MB, free: 1.777 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4725/0.4725, allocations: 90.52 MB / 407.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 11.98 kB / 484.3 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.09153, allocations: 65.81 MB / 0.5372 GB, free: 1.621 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.2491/0.3407, allocations: 85.92 MB / 0.6211 GB, free: 2.062 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.3522, allocations: 10.73 MB / 0.6316 GB, free: 7.312 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000946/0.3532, allocations: 27.81 kB / 0.6316 GB, free: 7.285 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.3547, allocations: 0.5832 MB / 0.6322 GB, free: 6.699 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006918/0.3616, allocations: 3.043 MB / 0.6352 GB, free: 3.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004333/0.3659, allocations: 1.937 MB / 0.637 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.3681, allocations: 2.441 MB / 0.6394 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005714/0.3687, allocations: 451 kB / 0.6399 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005323/0.374, allocations: 3.939 MB / 0.6437 GB, free: 10.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.3748, allocations: 0.7778 MB / 0.6445 GB, free: 10.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3749, allocations: 56 kB / 0.6445 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.3854, allocations: 7.289 MB / 0.6516 GB, free: 2.719 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.3857, allocations: 242.8 kB / 0.6519 GB, free: 2.48 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006644/0.3863, allocations: 0.6372 MB / 0.6525 GB, free: 1.84 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005129/0.3915, allocations: 3.701 MB / 0.6561 GB, free: 14.13 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3915, allocations: 11.92 kB / 0.6561 GB, free: 14.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3915, allocations: 0 / 0.6561 GB, free: 14.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3915, allocations: 0 / 0.6561 GB, free: 14.12 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.003143/0.3947, allocations: 1.957 MB / 0.658 GB, free: 12.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3947, allocations: 8.031 kB / 0.658 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.3949, allocations: 169.5 kB / 0.6582 GB, free: 11.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.3962, allocations: 255.1 kB / 0.6584 GB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.397, allocations: 0.6751 MB / 0.6591 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.3971, allocations: 86.58 kB / 0.6592 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.3973, allocations: 124.3 kB / 0.6593 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.3995, allocations: 1.319 MB / 0.6606 GB, free: 9.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.3995, allocations: 7.984 kB / 0.6606 GB, free: 9.375 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/0.3996, allocations: 44 kB / 0.6606 GB, free: 9.332 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/0.3997, allocations: 50.23 kB / 0.6607 GB, free: 9.281 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.4019, allocations: 1.106 MB / 0.6618 GB, free: 8.168 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/0.4078, allocations: 5.24 MB / 0.6669 GB, free: 2.559 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.4098, allocations: 1.247 MB / 0.6681 GB, free: 1.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008759/0.4107, allocations: 0.5738 MB / 0.6687 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/0.4133, allocations: 4.297 MB / 0.6729 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4133, allocations: 51.5 kB / 0.6729 GB, free: 11.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=106): time 2.825e-06/0.4133, allocations: 0 / 0.6729 GB, free: 11.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.008585/0.4219, allocations: 4.359 MB / 0.6772 GB, free: 6.809 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.422, allocations: 68.41 kB / 0.6772 GB, free: 6.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.4226, allocations: 0.6453 MB / 0.6779 GB, free: 6.074 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.4227, allocations: 45.7 kB / 0.6779 GB, free: 6.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.423, allocations: 0.4921 MB / 0.6784 GB, free: 5.523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.4232, allocations: 390.3 kB / 0.6788 GB, free: 5.137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.4233, allocations: 24 kB / 0.6788 GB, free: 5.113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.4234, allocations: 349.9 kB / 0.6791 GB, free: 4.766 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.4241, allocations: 438.4 kB / 0.6795 GB, free: 4.336 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008646/0.425, allocations: 0.576 MB / 0.6801 GB, free: 3.715 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 = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) 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 = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) 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 = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.4268, allocations: 1.313 MB / 0.6814 GB, free: 2.309 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4268, allocations: 0 / 0.6814 GB, free: 2.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002436/0.4293, allocations: 1.457 MB / 0.6828 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4293, allocations: 16.03 kB / 0.6828 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.4293, allocations: 4 kB / 0.6828 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.4299, allocations: 238.3 kB / 0.683 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.4307, allocations: 239.7 kB / 0.6833 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.4349, allocations: 5.282 MB / 0.6884 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.4355, allocations: 59.95 kB / 0.6885 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.4356, allocations: 63.97 kB / 0.6885 GB, free: 10.53 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 = $START.conductionElement4.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,15,77.8%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004095/0.436, allocations: 297.7 kB / 0.6888 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.4362, allocations: 98.78 kB / 0.6889 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.4391, allocations: 1.58 MB / 0.6905 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4392, allocations: 12 kB / 0.6905 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4392, allocations: 4 kB / 0.6905 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4392, allocations: 3.984 kB / 0.6905 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.4437, allocations: 3.173 MB / 0.6936 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4437, allocations: 4 kB / 0.6936 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.4445, allocations: 203.9 kB / 0.6938 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006143/0.4451, allocations: 250.2 kB / 0.694 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.4452, allocations: 43.97 kB / 0.6941 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/0.4494, allocations: 5.31 MB / 0.6992 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4494, allocations: 4 kB / 0.6993 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.4527, allocations: 2.052 MB / 0.7013 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.4528, allocations: 175.7 kB / 0.7014 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.453, allocations: 24 kB / 0.7014 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.4535, allocations: 71.89 kB / 0.7015 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.4537, allocations: 100.8 kB / 0.7016 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-05/0.4538, allocations: 63.97 kB / 0.7017 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004508/0.4543, allocations: 447 kB / 0.7021 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.4543, allocations: 0 / 0.7021 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001828/0.4561, allocations: 0.867 MB / 0.7029 GB, free: 11.14 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005523/0.4617, allocations: 3.702 MB / 0.7066 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002642/0.4643, allocations: 1.699 MB / 0.7082 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4643, allocations: 0 / 0.7082 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.466, allocations: 1.207 MB / 0.7094 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.4674, allocations: 287.4 kB / 0.7097 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.4814, allocations: 10.57 MB / 0.72 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.4821, allocations: 1.144 MB / 0.7211 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008692/0.483, allocations: 223.6 kB / 0.7213 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/0.4837, allocations: 0.4914 MB / 0.7218 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.4837, allocations: 0 / 0.7218 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3767/0.8604, allocations: 40.22 MB / 0.7611 GB, free: 15.29 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/0.8607, allocations: 282.4 kB / 0.7614 GB, free: 14.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/3.949, allocations: 3.938 kB / 0.7614 GB, free: 14.9 MB / 0.573 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) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches