Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Components_test_FviewCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Components_test_FviewCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004807/0.004807, allocations: 100.2 kB / 15.73 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 198.7 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06503/0.06503, allocations: 10.97 MB / 280.9 MB, free: 10.13 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01784/0.01784, allocations: 4.252 MB / 334.6 MB, free: 29.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.02 kB / 447.1 MB, free: 44.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.087, allocations: 49.75 MB / 496.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator): time 0.003184/0.09024, allocations: 1.962 MB / 498.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.09167, allocations: 0.8268 MB / 499.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.55e-05/0.09179, allocations: 4 kB / 499.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.09194, allocations: 27.66 kB / 499.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.09207, allocations: 47.58 kB / 499.7 MB, free: 11.06 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/HeatTransfer/Functions/fviewFunction.mo:2:1-95:18:writable] Warning: Pure function 'TAeZoSysPro.HeatTransfer.Functions.fviewFunction' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000751/0.09283, allocations: 171 kB / 499.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.09306, allocations: 187.3 kB / 0.4883 GB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.09328, allocations: 86.69 kB / 0.4884 GB, free: 10.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.005e-05/0.09336, allocations: 75.77 kB / 0.4885 GB, free: 10.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.09352, allocations: 79.62 kB / 0.4885 GB, free: 10.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.09356, allocations: 16 kB / 0.4886 GB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.09382, allocations: 123.8 kB / 0.4887 GB, free: 10.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.0939, allocations: 51.78 kB / 0.4887 GB, free: 10.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.094, allocations: 95.47 kB / 0.4888 GB, free: 10.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.09435, allocations: 267.1 kB / 0.4891 GB, free: 9.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.09436, allocations: 0 / 0.4891 GB, free: 9.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09437, allocations: 0 / 0.4891 GB, free: 9.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.09438, allocations: 0 / 0.4891 GB, free: 9.934 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008827/0.09527, allocations: 0.4918 MB / 0.4896 GB, free: 9.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.09532, allocations: 12.03 kB / 0.4896 GB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.09538, allocations: 46.73 kB / 0.4896 GB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.09548, allocations: 20.84 kB / 0.4896 GB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.09571, allocations: 238.1 kB / 0.4899 GB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.09574, allocations: 8.375 kB / 0.4899 GB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.09578, allocations: 20.38 kB / 0.4899 GB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.09613, allocations: 211.9 kB / 0.4901 GB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.09616, allocations: 0 / 0.4901 GB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.09618, allocations: 8 kB / 0.4901 GB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.09619, allocations: 4 kB / 0.4901 GB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.09641, allocations: 124.7 kB / 0.4902 GB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.09754, allocations: 0.7002 MB / 0.4909 GB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.09788, allocations: 149.2 kB / 0.491 GB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.09799, allocations: 73.72 kB / 0.4911 GB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.09815, allocations: 89.08 kB / 0.4912 GB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.09819, allocations: 34.56 kB / 0.4912 GB, free: 7.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.0982, allocations: 224 / 0.4912 GB, free: 7.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009962/0.09921, allocations: 351.3 kB / 0.4916 GB, free: 7.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.09926, allocations: 81.11 kB / 0.4916 GB, free: 7.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.09946, allocations: 202.4 kB / 0.4918 GB, free: 6.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.09949, allocations: 25.7 kB / 0.4919 GB, free: 6.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.09959, allocations: 128.3 kB / 0.492 GB, free: 6.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.09963, allocations: 51.66 kB / 0.492 GB, free: 6.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.0997, allocations: 37.7 kB / 0.4921 GB, free: 6.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.09983, allocations: 330.8 kB / 0.4924 GB, free: 6.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.09991, allocations: 35.98 kB / 0.4924 GB, free: 6.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.1, allocations: 72.28 kB / 0.4925 GB, free: 6.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1002, allocations: 144.1 kB / 0.4926 GB, free: 5.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1002, allocations: 0 / 0.4926 GB, free: 5.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003443/0.1006, allocations: 194.3 kB / 0.4928 GB, free: 5.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1006, allocations: 8 kB / 0.4928 GB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1006, allocations: 3.984 kB / 0.4928 GB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.102, allocations: 124.8 kB / 0.4929 GB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.1021, allocations: 15.98 kB / 0.493 GB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000461/0.1025, allocations: 0.5992 MB / 0.4935 GB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1027, allocations: 23.72 kB / 0.4936 GB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.1027, allocations: 11.94 kB / 0.4936 GB, free: 4.945 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (fviewCalculator1.F_view[3],fviewCalculator1.F_view[2],fviewCalculator1.F_view[1],fviewCalculator2.F_view[2],fviewCalculator2.F_view[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.1028, allocations: 125.8 kB / 0.4937 GB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.1029, allocations: 23.83 kB / 0.4937 GB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.1032, allocations: 175.9 kB / 0.4939 GB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1033, allocations: 4 kB / 0.4939 GB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1033, allocations: 0 / 0.4939 GB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1033, allocations: 0 / 0.4939 GB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.1036, allocations: 245.5 kB / 0.4941 GB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1036, allocations: 7.938 kB / 0.4941 GB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.1037, allocations: 15.92 kB / 0.4942 GB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.1049, allocations: 120.8 kB / 0.4943 GB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1049, allocations: 4 kB / 0.4943 GB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004329/0.1053, allocations: 0.5953 MB / 0.4949 GB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1054, allocations: 0 / 0.4949 GB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/0.1059, allocations: 426.9 kB / 0.4953 GB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.106, allocations: 105 kB / 0.4954 GB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1061, allocations: 4 kB / 0.4954 GB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1062, allocations: 8.125 kB / 0.4954 GB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.1062, allocations: 7.984 kB / 0.4954 GB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1063, allocations: 4 kB / 0.4954 GB, free: 2.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1064, allocations: 152.3 kB / 0.4955 GB, free: 2.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1064, allocations: 0 / 0.4955 GB, free: 2.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.1068, allocations: 71.75 kB / 0.4956 GB, free: 2.738 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (carrollRadiation_a.E,carrollRadiation_b.E) * Number of discrete variables: 5 (fviewCalculator2.F_view[1],fviewCalculator2.F_view[2],fviewCalculator1.F_view[1],fviewCalculator1.F_view[2],fviewCalculator1.F_view[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.108, allocations: 0.9881 MB / 0.4966 GB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.1084, allocations: 127.6 kB / 0.4967 GB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1084, allocations: 320 / 0.4967 GB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1086, allocations: 75.78 kB / 0.4968 GB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.109, allocations: 29.8 kB / 0.4968 GB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.1118, allocations: 2.354 MB / 0.4991 GB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1121, allocations: 0.728 MB / 0.4998 GB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.338e-05/0.1122, allocations: 13.55 kB / 0.4998 GB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.1122, allocations: 47.42 kB / 0.4999 GB, free: 14.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1122, allocations: 4 kB / 0.4999 GB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1373, allocations: 5.058 MB / 0.5048 GB, free: 9.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.29, allocations: 23.08 kB / 0.5048 GB, free: 9.219 MB / 350.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Components_test_FviewCalculator.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator.pipe 2>&1)