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.001395/0.001395, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 198 kB / 16.53 MB, free: 6.391 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.402/1.402, allocations: 205.1 MB / 222.4 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06675/0.06675, allocations: 10.98 MB / 280.7 MB, free: 10.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01741/0.01741, allocations: 4.25 MB / 334.4 MB, free: 29.08 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.001714/0.001714, allocations: 67.91 kB / 396.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.223, allocations: 49.72 MB / 446.4 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator): time 0.003037/0.2261, allocations: 1.968 MB / 448.4 MB, free: 46.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2274, allocations: 0.8313 MB / 449.2 MB, free: 45.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.2275, allocations: 3.375 kB / 449.2 MB, free: 45.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.2276, allocations: 25.97 kB / 449.2 MB, free: 45.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.2277, allocations: 36.23 kB / 449.3 MB, free: 45.75 MB / 318.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.0007227/0.2285, allocations: 176.2 kB / 449.4 MB, free: 45.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.2287, allocations: 185.5 kB / 449.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2289, allocations: 92.16 kB / 449.7 MB, free: 45.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.229, allocations: 77.92 kB / 449.8 MB, free: 45.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2292, allocations: 80.03 kB / 449.9 MB, free: 45.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.2292, allocations: 20.62 kB / 449.9 MB, free: 45.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.2295, allocations: 105.1 kB / 450 MB, free: 45.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.2296, allocations: 45.34 kB / 450 MB, free: 45.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.2297, allocations: 91.94 kB / 450.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.23, allocations: 262 kB / 450.4 MB, free: 45.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.23, allocations: 3.938 kB / 450.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.23, allocations: 0 / 450.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.2301, allocations: 0 / 450.4 MB, free: 45.04 MB / 318.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.0007886/0.2309, allocations: 0.4921 MB / 450.9 MB, free: 44.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2309, allocations: 9.969 kB / 450.9 MB, free: 44.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.231, allocations: 53.3 kB / 450.9 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.2312, allocations: 26.34 kB / 451 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.2314, allocations: 215.4 kB / 451.2 MB, free: 44.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2314, allocations: 16.28 kB / 451.2 MB, free: 44.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.2315, allocations: 15.56 kB / 451.2 MB, free: 44.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.2318, allocations: 218.3 kB / 451.4 MB, free: 44.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2318, allocations: 5.531 kB / 451.4 MB, free: 44.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.2318, allocations: 5.406 kB / 451.4 MB, free: 44.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2319, allocations: 3.812 kB / 451.4 MB, free: 44.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.2321, allocations: 130.4 kB / 451.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.233, allocations: 0.6954 MB / 452.2 MB, free: 43.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.2333, allocations: 153.5 kB / 452.4 MB, free: 43.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.2334, allocations: 61.62 kB / 452.5 MB, free: 43.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.2335, allocations: 85.72 kB / 452.5 MB, free: 43.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2335, allocations: 39.44 kB / 452.6 MB, free: 43.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.2336, allocations: 1 kB / 452.6 MB, free: 43.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008916/0.2345, allocations: 355.8 kB / 452.9 MB, free: 42.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.2345, allocations: 78.05 kB / 453 MB, free: 42.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2347, allocations: 202.6 kB / 453.2 MB, free: 42.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2347, allocations: 31.05 kB / 453.2 MB, free: 42.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.2347, allocations: 120.2 kB / 453.3 MB, free: 42.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.2348, allocations: 48.94 kB / 453.4 MB, free: 42.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.2348, allocations: 34.02 kB / 453.4 MB, free: 42.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.2349, allocations: 335.2 kB / 453.8 MB, free: 42.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.235, allocations: 38.08 kB / 453.8 MB, free: 42.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.2351, allocations: 84.34 kB / 453.9 MB, free: 41.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.2353, allocations: 135.5 kB / 454 MB, free: 41.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2353, allocations: 1.062 kB / 454 MB, free: 41.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003187/0.2356, allocations: 198.9 kB / 454.2 MB, free: 41.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2356, allocations: 5.469 kB / 454.2 MB, free: 41.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2357, allocations: 1.062 kB / 454.2 MB, free: 41.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.237, allocations: 120.3 kB / 454.3 MB, free: 41.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.2371, allocations: 18.55 kB / 454.3 MB, free: 41.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003578/0.2375, allocations: 0.5988 MB / 454.9 MB, free: 41.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.822e-05/0.2376, allocations: 25.02 kB / 455 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2376, allocations: 5.188 kB / 455 MB, free: 41.13 MB / 318.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 9.946e-05/0.2377, allocations: 126.2 kB / 455.1 MB, free: 41.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.2378, allocations: 35.42 kB / 455.1 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.2381, allocations: 168.2 kB / 455.3 MB, free: 40.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2381, allocations: 2.062 kB / 455.3 MB, free: 40.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2381, allocations: 5.375 kB / 455.3 MB, free: 40.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2381, allocations: 0 / 455.3 MB, free: 40.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.2384, allocations: 246.5 kB / 455.5 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2384, allocations: 1.094 kB / 455.5 MB, free: 40.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.2385, allocations: 14.39 kB / 455.6 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.2397, allocations: 118.4 kB / 455.7 MB, free: 40.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.2397, allocations: 2.25 kB / 455.7 MB, free: 40.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003041/0.24, allocations: 0.6021 MB / 456.3 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2401, allocations: 1.031 kB / 456.3 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.2405, allocations: 414.6 kB / 456.7 MB, free: 39.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.2406, allocations: 105.4 kB / 456.8 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.2406, allocations: 5.438 kB / 456.8 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2407, allocations: 5.469 kB / 456.8 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.2408, allocations: 14.61 kB / 456.8 MB, free: 39.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.2408, allocations: 8.875 kB / 456.8 MB, free: 39.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.2409, allocations: 149.6 kB / 457 MB, free: 39.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2409, allocations: 0 / 457 MB, free: 39.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.2413, allocations: 70.45 kB / 457 MB, free: 39.4 MB / 318.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.0008654/0.2422, allocations: 0.9898 MB / 458 MB, free: 38.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.2425, allocations: 136.2 kB / 458.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2426, allocations: 320 / 458.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2427, allocations: 64.47 kB / 458.2 MB, free: 38.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.2431, allocations: 23.69 kB / 458.2 MB, free: 38.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.2453, allocations: 2.377 MB / 460.6 MB, free: 36.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.2455, allocations: 0.728 MB / 461.4 MB, free: 35.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.2455, allocations: 21.47 kB / 461.4 MB, free: 35.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.2456, allocations: 47.42 kB / 461.4 MB, free: 35.43 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2456, allocations: 0 / 461.4 MB, free: 35.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.2683, allocations: 4.945 MB / 466.4 MB, free: 30.6 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.12, allocations: 15.58 kB / 466.4 MB, free: 30.58 MB / 318.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)