Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.001606/0.001606, allocations: 108 kB / 15.61 MB, free: 152 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.002197/0.002197, allocations: 192.2 kB / 16.53 MB, free: 6.664 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.481/1.481, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.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.0022/0.0022, allocations: 70.83 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2369, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002829/0.2398, allocations: 1.626 MB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007578/0.2406, allocations: 0.5124 MB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.2406, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.2407, allocations: 11.88 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2408, allocations: 47.61 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.241, allocations: 27.97 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.2412, allocations: 143.3 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2413, allocations: 35.98 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.2414, allocations: 43.86 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2415, allocations: 51.77 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.2415, allocations: 8 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.603e-05/0.2416, allocations: 8 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.2416, allocations: 19.92 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.2417, allocations: 63.72 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2418, allocations: 107.9 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2418, allocations: 0 / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.436e-06/0.2418, allocations: 0 / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2419, allocations: 3.938 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000539/0.2424, allocations: 409.5 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2424, allocations: 12.03 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.2425, allocations: 38.73 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.2425, allocations: 12.84 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.2427, allocations: 198.9 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2428, allocations: 384 / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.2428, allocations: 12.38 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.2429, allocations: 65.8 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2429, allocations: 7.938 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2429, allocations: 4 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.243, allocations: 0 / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.243, allocations: 35.98 kB / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.2437, allocations: 483.3 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.244, allocations: 155.7 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.244, allocations: 24.94 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.244, allocations: 11.97 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2441, allocations: 30.56 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2441, allocations: 0 / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0005341/0.2446, allocations: 199.3 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.2447, allocations: 51.41 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2448, allocations: 165.1 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2448, allocations: 29.7 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.646e-05/0.2449, allocations: 112 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.2449, allocations: 11.81 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.245, allocations: 25.7 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.2451, allocations: 314.8 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.2451, allocations: 19.92 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.2452, allocations: 38.81 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.2452, allocations: 36.78 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2452, allocations: 4 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002006/0.2454, allocations: 94.38 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2455, allocations: 4 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2455, allocations: 0 / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.2456, allocations: 24.83 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.083e-05/0.2457, allocations: 11.94 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.2468, allocations: 1.406 MB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2469, allocations: 7.969 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.247, allocations: 4 kB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/0.2471, allocations: 124.9 kB / 0.7901 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.2471, allocations: 7.906 kB / 0.7901 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.2471, allocations: 20.3 kB / 0.7902 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2471, allocations: 0 / 0.7902 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.2471, allocations: 3.938 kB / 0.7902 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2471, allocations: 0 / 0.7902 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.2476, allocations: 355.3 kB / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2476, allocations: 0 / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.2476, allocations: 7.938 kB / 0.7905 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.611e-05/0.2477, allocations: 32.83 kB / 0.7905 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2477, allocations: 0 / 0.7905 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000962/0.2487, allocations: 1.395 MB / 0.7919 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2487, allocations: 3.938 kB / 0.7919 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.2489, allocations: 172.3 kB / 0.7921 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.249, allocations: 93 kB / 0.7922 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.249, allocations: 8.031 kB / 0.7922 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.2491, allocations: 4 kB / 0.7922 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.2491, allocations: 4 kB / 0.7922 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.2491, allocations: 3.984 kB / 0.7922 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.846e-05/0.2492, allocations: 133.6 kB / 0.7923 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2492, allocations: 0 / 0.7923 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002696/0.2495, allocations: 35.84 kB / 0.7923 GB, free: 3.578 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004782/0.25, allocations: 0.7132 MB / 0.793 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.2504, allocations: 158.6 kB / 0.7932 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2504, allocations: 3.938 kB / 0.7932 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.2506, allocations: 138.7 kB / 0.7933 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.251, allocations: 23.98 kB / 0.7933 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.2526, allocations: 1.551 MB / 0.7949 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2529, allocations: 0.6967 MB / 0.7955 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.421e-05/0.2529, allocations: 8.891 kB / 0.7955 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.253, allocations: 31.42 kB / 0.7956 GB, free: 92 kB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.253, allocations: 0 / 0.7956 GB, free: 92 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.2755, allocations: 3.096 MB / 0.7986 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.884/10.16, allocations: 7.938 kB / 0.7986 GB, free: 13.11 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1)