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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 211.5 kB / 22.24 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 207.7 MB / 233.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0683/0.0683, allocations: 11.07 MB / 296.4 MB, free: 10.52 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02767/0.02767, allocations: 4.313 MB / 355.2 MB, free: 15.57 MB / 302.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 83.89 kB / 476.6 MB, free: 21.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2639, allocations: 52.43 MB / 0.5167 GB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Components.test_FviewCalculator): time 0.00326/0.2672, allocations: 1.887 MB / 0.5185 GB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2687, allocations: 0.7958 MB / 0.5193 GB, free: 6.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.2688, allocations: 6.5 kB / 0.5193 GB, free: 6.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.2689, allocations: 25.73 kB / 0.5193 GB, free: 6.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.269, allocations: 42.22 kB / 0.5194 GB, free: 6.203 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.000722/0.2697, allocations: 175.3 kB / 0.5195 GB, free: 6.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.27, allocations: 187.6 kB / 0.5197 GB, free: 6.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2701, allocations: 67.16 kB / 0.5198 GB, free: 5.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.2702, allocations: 76.41 kB / 0.5198 GB, free: 5.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2704, allocations: 80.92 kB / 0.5199 GB, free: 5.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.2704, allocations: 15.97 kB / 0.5199 GB, free: 5.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.2707, allocations: 131.4 kB / 0.5201 GB, free: 5.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.2707, allocations: 42.22 kB / 0.5201 GB, free: 5.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.2708, allocations: 74.55 kB / 0.5202 GB, free: 5.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.2711, allocations: 272.9 kB / 0.5204 GB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2711, allocations: 0 / 0.5204 GB, free: 5.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2711, allocations: 5.188 kB / 0.5204 GB, free: 5.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2711, allocations: 0 / 0.5204 GB, free: 5.566 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.0007532/0.2719, allocations: 431.5 kB / 0.5208 GB, free: 5.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2719, allocations: 9.344 kB / 0.5209 GB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.272, allocations: 52.45 kB / 0.5209 GB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.272, allocations: 20.12 kB / 0.5209 GB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.2722, allocations: 158.2 kB / 0.5211 GB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2722, allocations: 11.38 kB / 0.5211 GB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2723, allocations: 15.81 kB / 0.5211 GB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.2726, allocations: 204.5 kB / 0.5213 GB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2726, allocations: 3.938 kB / 0.5213 GB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.2726, allocations: 14.48 kB / 0.5213 GB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2726, allocations: 7.812 kB / 0.5213 GB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.2728, allocations: 116.8 kB / 0.5214 GB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.2736, allocations: 0.5825 MB / 0.522 GB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.2739, allocations: 148.3 kB / 0.5221 GB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.2739, allocations: 57.25 kB / 0.5222 GB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-05/0.274, allocations: 9.484 kB / 0.5222 GB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.274, allocations: 37.31 kB / 0.5222 GB, free: 4.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.274, allocations: 224 / 0.5222 GB, free: 4.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008155/0.2749, allocations: 272.7 kB / 0.5225 GB, free: 3.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2749, allocations: 79.7 kB / 0.5226 GB, free: 3.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.275, allocations: 214.7 kB / 0.5228 GB, free: 3.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2751, allocations: 26.89 kB / 0.5228 GB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.2751, allocations: 128 kB / 0.5229 GB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.2751, allocations: 45.75 kB / 0.523 GB, free: 3.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.2752, allocations: 38.8 kB / 0.523 GB, free: 3.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.2753, allocations: 327.6 kB / 0.5233 GB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.2753, allocations: 38.17 kB / 0.5234 GB, free: 3.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.2754, allocations: 80.31 kB / 0.5234 GB, free: 3.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2756, allocations: 140.2 kB / 0.5236 GB, free: 2.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2756, allocations: 0.8438 kB / 0.5236 GB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002936/0.2759, allocations: 190.8 kB / 0.5238 GB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2759, allocations: 5.375 kB / 0.5238 GB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2759, allocations: 5.422 kB / 0.5238 GB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.2771, allocations: 116.1 kB / 0.5239 GB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.2772, allocations: 27.09 kB / 0.5239 GB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003203/0.2775, allocations: 0.5929 MB / 0.5245 GB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2776, allocations: 19.97 kB / 0.5245 GB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2776, allocations: 5.5 kB / 0.5245 GB, free: 2.164 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.0001067/0.2777, allocations: 146 kB / 0.5246 GB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.2778, allocations: 20.09 kB / 0.5247 GB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.2781, allocations: 172.8 kB / 0.5248 GB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2781, allocations: 1.375 kB / 0.5248 GB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2781, allocations: 1.375 kB / 0.5248 GB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2781, allocations: 0 / 0.5248 GB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.2783, allocations: 201.8 kB / 0.525 GB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2783, allocations: 5.312 kB / 0.525 GB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.2784, allocations: 17.42 kB / 0.525 GB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2795, allocations: 114.9 kB / 0.5252 GB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2795, allocations: 2.75 kB / 0.5252 GB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002728/0.2798, allocations: 0.5984 MB / 0.5257 GB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2798, allocations: 1.531 kB / 0.5257 GB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.2802, allocations: 423.7 kB / 0.5261 GB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.2802, allocations: 31.88 kB / 0.5262 GB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.2802, allocations: 5.031 kB / 0.5262 GB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.2804, allocations: 1.281 kB / 0.5262 GB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.2804, allocations: 11.17 kB / 0.5262 GB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2804, allocations: 7.75 kB / 0.5262 GB, free: 0.6953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.2805, allocations: 150.4 kB / 0.5263 GB, free: 0.5859 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2805, allocations: 4.125 kB / 0.5263 GB, free: 0.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.2809, allocations: 71.62 kB / 0.5264 GB, free: 0.5586 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.0008482/0.2817, allocations: 0.9863 MB / 0.5274 GB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.282, allocations: 122.5 kB / 0.5275 GB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.282, allocations: 0 / 0.5275 GB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.2822, allocations: 67.34 kB / 0.5276 GB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.2825, allocations: 22.88 kB / 0.5276 GB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.2852, allocations: 2.37 MB / 0.5299 GB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2853, allocations: 120.6 kB / 0.53 GB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.2854, allocations: 13.83 kB / 0.53 GB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.2855, allocations: 42.02 kB / 0.5301 GB, free: 13.55 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2855, allocations: 0 / 0.5301 GB, free: 13.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.3193, allocations: 5.461 MB / 0.5354 GB, free: 10.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.16, allocations: 176 / 0.5354 GB, free: 10.32 MB / 350.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.875257709994912] Failed to read output from testmodel.py, exit status != 0: 12.277111078612506 12.293110161 12.019054031 Calling exit ...