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.0009542/0.0009544, allocations: 168.2 kB / 16.1 MB, free: 5.695 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.187/1.187, allocations: 205 MB / 221.9 MB, free: 9.148 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.0007412/0.0007415, allocations: 88.88 kB / 269.9 MB, free: 8.672 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.6009/0.6009, allocations: 90.51 MB / 408.3 MB, free: 3.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002978, allocations: 8 kB / 484.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2413, allocations: 65.81 MB / 0.5377 GB, free: 34.87 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.07355/0.3149, allocations: 85.92 MB / 0.6217 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3275, allocations: 10.74 MB / 0.6321 GB, free: 6.047 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3287, allocations: 15.94 kB / 0.6322 GB, free: 6.031 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.3301, allocations: 0.5831 MB / 0.6327 GB, free: 5.445 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006745/0.3369, allocations: 3.056 MB / 0.6357 GB, free: 2.395 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.3411, allocations: 1.928 MB / 0.6376 GB, free: 488 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002143/0.3432, allocations: 2.444 MB / 0.64 GB, free: 14.02 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.3438, allocations: 445.1 kB / 0.6404 GB, free: 13.57 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00535/0.3491, allocations: 3.939 MB / 0.6443 GB, free: 9.621 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008204/0.35, allocations: 0.7739 MB / 0.645 GB, free: 8.844 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.3501, allocations: 60 kB / 0.6451 GB, free: 8.785 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/0.3606, allocations: 7.286 MB / 0.6522 GB, free: 1.484 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.3609, allocations: 242.8 kB / 0.6524 GB, free: 1.246 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007057/0.3616, allocations: 0.6449 MB / 0.653 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.3654, allocations: 2.639 MB / 0.6556 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3654, allocations: 0 / 0.6556 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3654, allocations: 3.938 kB / 0.6556 GB, free: 13.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3655, allocations: 0 / 0.6556 GB, free: 13.95 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003459/0.3689, allocations: 1.957 MB / 0.6575 GB, free: 11.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.369, allocations: 8.031 kB / 0.6575 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.3704, allocations: 259.1 kB / 0.6578 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.3712, allocations: 0.6751 MB / 0.6584 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.3713, allocations: 86.59 kB / 0.6585 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.3714, allocations: 120.3 kB / 0.6586 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.3738, allocations: 1.323 MB / 0.6599 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.3738, allocations: 0 / 0.6599 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/0.3739, allocations: 44 kB / 0.66 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.374, allocations: 58.22 kB / 0.66 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.3762, allocations: 1.11 MB / 0.6611 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006009/0.3822, allocations: 5.228 MB / 0.6662 GB, free: 2.562 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.3843, allocations: 1.251 MB / 0.6674 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/0.3852, allocations: 0.5777 MB / 0.668 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00266/0.3879, allocations: 4.301 MB / 0.6722 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3879, allocations: 43.56 kB / 0.6722 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=106): time 3.005e-06/0.3879, allocations: 0 / 0.6722 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111): time 0.008859/0.3968, allocations: 4.348 MB / 0.6765 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3969, allocations: 64.41 kB / 0.6766 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.3975, allocations: 0.6453 MB / 0.6772 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.3976, allocations: 49.7 kB / 0.6772 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.3979, allocations: 0.4921 MB / 0.6777 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3981, allocations: 390.2 kB / 0.6781 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.3982, allocations: 20 kB / 0.6781 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3983, allocations: 353.9 kB / 0.6784 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/0.3991, allocations: 434.4 kB / 0.6789 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008729/0.4, allocations: 0.576 MB / 0.6794 GB, free: 3.746 MB / 0.4948 GB 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.001936/0.4019, allocations: 1.312 MB / 0.6807 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.402, allocations: 0 / 0.6807 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002588/0.4046, allocations: 1.461 MB / 0.6821 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4046, allocations: 7.938 kB / 0.6821 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4046, allocations: 8 kB / 0.6821 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006482/0.4053, allocations: 242.3 kB / 0.6824 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/0.4061, allocations: 235.7 kB / 0.6826 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1933/0.5994, allocations: 5.284 MB / 0.6878 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.6003, allocations: 56.53 kB / 0.6878 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.6004, allocations: 66.02 kB / 0.6879 GB, free: 131 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.0004538/0.6009, allocations: 292.6 kB / 0.6882 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.6011, allocations: 99.25 kB / 0.6882 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.6043, allocations: 1.577 MB / 0.6898 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.6043, allocations: 11.64 kB / 0.6898 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.6043, allocations: 3.688 kB / 0.6898 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.6043, allocations: 6.609 kB / 0.6898 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/0.6092, allocations: 3.181 MB / 0.6929 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.6092, allocations: 4.594 kB / 0.6929 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007659/0.6099, allocations: 200.2 kB / 0.6931 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007065/0.6107, allocations: 251.5 kB / 0.6934 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.494e-05/0.6108, allocations: 47.45 kB / 0.6934 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004012/0.6148, allocations: 5.305 MB / 0.6986 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6148, allocations: 1.375 kB / 0.6986 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.6182, allocations: 2.056 MB / 0.7006 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.6185, allocations: 163.1 kB / 0.7007 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.6186, allocations: 40.73 kB / 0.7008 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.6192, allocations: 68.36 kB / 0.7008 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.6195, allocations: 101.9 kB / 0.7009 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.6196, allocations: 59.59 kB / 0.701 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000563/0.6202, allocations: 447.4 kB / 0.7014 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6202, allocations: 0 / 0.7014 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001891/0.6221, allocations: 0.8802 MB / 0.7023 GB, free: 122.5 MB / 0.4948 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.001941/0.6241, allocations: 1.177 MB / 0.7034 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.6265, allocations: 1.705 MB / 0.7051 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6265, allocations: 0 / 0.7051 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.628, allocations: 1.19 MB / 0.7063 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.6292, allocations: 284.8 kB / 0.7065 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.6326, allocations: 3.349 MB / 0.7098 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.633, allocations: 1.137 MB / 0.7109 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.6334, allocations: 127.5 kB / 0.711 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.6334, allocations: 0 / 0.711 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.02881/0.6622, allocations: 39.74 MB / 0.7498 GB, free: 80.36 MB / 0.4948 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) 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