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.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001508/0.001508, allocations: 192.1 kB / 16.14 MB, free: 6.707 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.337/1.337, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06371/0.06371, allocations: 10.97 MB / 280.3 MB, free: 10.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01802/0.01802, allocations: 4.227 MB / 334 MB, free: 29.33 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.001342/0.001343, allocations: 75.89 kB / 395.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2195, allocations: 49.73 MB / 445.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator): time 0.002818/0.2224, allocations: 2.024 MB / 447.7 MB, free: 46.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.2236, allocations: 0.8353 MB / 448.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.2237, allocations: 2.156 kB / 448.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.2238, allocations: 14.05 kB / 448.5 MB, free: 45.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.2239, allocations: 36.34 kB / 448.6 MB, free: 45.62 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.000534/0.2244, allocations: 141.4 kB / 448.7 MB, free: 45.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2246, allocations: 187.5 kB / 448.9 MB, free: 45.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.2248, allocations: 86.25 kB / 449 MB, free: 45.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.2248, allocations: 61.06 kB / 449 MB, free: 45.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2249, allocations: 80.95 kB / 449.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.225, allocations: 19.22 kB / 449.1 MB, free: 45.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.2252, allocations: 107.6 kB / 449.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.2253, allocations: 33.78 kB / 449.3 MB, free: 45.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.2254, allocations: 87.12 kB / 449.4 MB, free: 45.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.2256, allocations: 256.3 kB / 449.6 MB, free: 44.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2256, allocations: 0 / 449.6 MB, free: 44.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2256, allocations: 1.156 kB / 449.6 MB, free: 44.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2257, allocations: 0 / 449.6 MB, free: 44.97 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.0007057/0.2264, allocations: 0.4955 MB / 450.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2264, allocations: 10.34 kB / 450.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.509e-05/0.2265, allocations: 48.42 kB / 450.2 MB, free: 44.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.542e-05/0.2265, allocations: 30.95 kB / 450.2 MB, free: 44.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2267, allocations: 208.3 kB / 450.4 MB, free: 44.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2267, allocations: 14.66 kB / 450.4 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.2268, allocations: 16.09 kB / 450.4 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.2271, allocations: 211.2 kB / 450.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2271, allocations: 5.438 kB / 450.6 MB, free: 44.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2271, allocations: 9.141 kB / 450.6 MB, free: 44.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2271, allocations: 5.25 kB / 450.6 MB, free: 44.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.2273, allocations: 120.2 kB / 450.8 MB, free: 43.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.2282, allocations: 0.6997 MB / 451.5 MB, free: 43.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.2285, allocations: 150.9 kB / 451.6 MB, free: 43.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.2286, allocations: 64.38 kB / 451.7 MB, free: 43.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.2287, allocations: 85.09 kB / 451.8 MB, free: 43.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2287, allocations: 45.06 kB / 451.8 MB, free: 43.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2287, allocations: 224 / 451.8 MB, free: 43.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008683/0.2296, allocations: 351.8 kB / 452.1 MB, free: 42.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.2296, allocations: 82.41 kB / 452.2 MB, free: 42.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.2298, allocations: 203.1 kB / 452.4 MB, free: 42.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2298, allocations: 30.64 kB / 452.5 MB, free: 42.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.2299, allocations: 123 kB / 452.6 MB, free: 42.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.2299, allocations: 42.66 kB / 452.6 MB, free: 42.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.23, allocations: 39.16 kB / 452.7 MB, free: 42.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.23, allocations: 334.4 kB / 453 MB, free: 42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/0.2301, allocations: 37.14 kB / 453 MB, free: 41.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/0.2302, allocations: 82.55 kB / 453.1 MB, free: 41.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.2304, allocations: 135.4 kB / 453.2 MB, free: 41.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2304, allocations: 0 / 453.2 MB, free: 41.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003111/0.2307, allocations: 203.1 kB / 453.4 MB, free: 41.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2307, allocations: 8.656 kB / 453.4 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2307, allocations: 1.062 kB / 453.4 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.2322, allocations: 120.8 kB / 453.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.2323, allocations: 25.86 kB / 453.6 MB, free: 41.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003228/0.2326, allocations: 0.5952 MB / 454.2 MB, free: 41.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2327, allocations: 25.66 kB / 454.2 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.2328, allocations: 4.875 kB / 454.2 MB, free: 41.05 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.769e-05/0.2329, allocations: 133.9 kB / 454.3 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.233, allocations: 23.72 kB / 454.4 MB, free: 40.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.2333, allocations: 164.2 kB / 454.5 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2333, allocations: 6 kB / 454.5 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2333, allocations: 0.9688 kB / 454.5 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2333, allocations: 5.297 kB / 454.5 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.2336, allocations: 238.4 kB / 454.8 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2336, allocations: 3.938 kB / 454.8 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.2336, allocations: 18.55 kB / 454.8 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.235, allocations: 119.1 kB / 454.9 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.235, allocations: 1.188 kB / 454.9 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002792/0.2353, allocations: 0.5985 MB / 455.5 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2353, allocations: 5.281 kB / 455.5 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.2357, allocations: 427 kB / 455.9 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.2358, allocations: 99.47 kB / 456 MB, free: 39.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.2359, allocations: 6.438 kB / 456 MB, free: 39.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.236, allocations: 1.188 kB / 456 MB, free: 39.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.236, allocations: 7.141 kB / 456 MB, free: 39.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.236, allocations: 12.19 kB / 456.1 MB, free: 39.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.2362, allocations: 150.4 kB / 456.2 MB, free: 39.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2362, allocations: 0 / 456.2 MB, free: 39.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.2366, allocations: 69.98 kB / 456.3 MB, free: 39.33 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.0007842/0.2374, allocations: 1.003 MB / 457.3 MB, free: 38.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.2377, allocations: 116 kB / 457.4 MB, free: 38.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2377, allocations: 0 / 457.4 MB, free: 38.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.2378, allocations: 72.12 kB / 457.5 MB, free: 38.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.2382, allocations: 32.42 kB / 457.5 MB, free: 38.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.2405, allocations: 2.418 MB / 459.9 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2406, allocations: 0.7349 MB / 460.6 MB, free: 35.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.2407, allocations: 13.45 kB / 460.6 MB, free: 35.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.2407, allocations: 46.83 kB / 460.7 MB, free: 35.62 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2407, allocations: 0 / 460.7 MB, free: 35.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.2558, allocations: 4.725 MB / 465.4 MB, free: 31.05 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.2561, allocations: 306.9 kB / 465.7 MB, free: 30.67 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.005, allocations: 0 / 465.7 MB, free: 30.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Components_test_FviewCalculator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Components_test_FviewCalculator.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator.pipe 2>&1)