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.001412/0.001412, allocations: 109.4 kB / 15.69 MB, free: 128 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.001173/0.001173, allocations: 185.7 kB / 16.62 MB, free: 6.582 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.577/1.577, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.863/1.863, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001665/0.001666, allocations: 64.88 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2587, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.003357/0.2621, allocations: 1.629 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.2631, allocations: 0.5084 MB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.2633, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.086e-05/0.2634, allocations: 19.86 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.2635, allocations: 43.62 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.2637, allocations: 23.97 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.2639, allocations: 147.3 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.2641, allocations: 39.92 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.4e-05/0.2642, allocations: 43.86 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.2643, allocations: 55.77 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.2644, allocations: 8 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.2644, allocations: 8 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.2644, allocations: 15.92 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/0.2645, allocations: 63.72 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.2647, allocations: 103.9 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2647, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2647, allocations: 4 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2647, allocations: 0 / 0.7863 GB, free: 10.54 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.0006002/0.2653, allocations: 407 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.124e-05/0.2654, allocations: 8.031 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.2655, allocations: 42.69 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.2655, allocations: 12.84 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.2659, allocations: 200.2 kB / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.2659, allocations: 4.375 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.2659, allocations: 8.375 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.266, allocations: 73.8 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.2661, allocations: 0 / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2661, allocations: 4 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2661, allocations: 0 / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.2662, allocations: 39.92 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.2669, allocations: 487.3 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.2673, allocations: 155.6 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.2673, allocations: 28.94 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.2674, allocations: 0 / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2674, allocations: 34.59 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2674, allocations: 0 / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0006085/0.268, allocations: 203.3 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.2681, allocations: 51.41 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2682, allocations: 161.1 kB / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2682, allocations: 29.7 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.2683, allocations: 112 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.2684, allocations: 11.81 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.2684, allocations: 25.64 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2686, allocations: 318.8 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.2686, allocations: 15.98 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.2687, allocations: 30.58 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.075e-05/0.2687, allocations: 40.88 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2687, allocations: 0 / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00022/0.269, allocations: 102.3 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.269, allocations: 11.94 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.269, allocations: 0 / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.2692, allocations: 16.84 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.2693, allocations: 12 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.2706, allocations: 1.406 MB / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.2708, allocations: 11.97 kB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2708, allocations: 0 / 0.7902 GB, free: 6.074 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 0.0001066/0.2709, allocations: 116.3 kB / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.2709, allocations: 11.91 kB / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.271, allocations: 12.23 kB / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.271, allocations: 4 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.271, allocations: 3.938 kB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.271, allocations: 8 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.2715, allocations: 355.5 kB / 0.7907 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2715, allocations: 0 / 0.7907 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.2715, allocations: 4.047 kB / 0.7907 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.2716, allocations: 32.75 kB / 0.7907 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2716, allocations: 0 / 0.7907 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.2728, allocations: 1.395 MB / 0.792 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2728, allocations: 7.922 kB / 0.7921 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.273, allocations: 180.3 kB / 0.7922 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.2731, allocations: 85 kB / 0.7923 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2731, allocations: 7.938 kB / 0.7923 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.2732, allocations: 0 / 0.7923 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.2733, allocations: 0 / 0.7923 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2733, allocations: 8.062 kB / 0.7923 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001397/0.2734, allocations: 129.7 kB / 0.7924 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2734, allocations: 0 / 0.7924 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003179/0.2737, allocations: 35.84 kB / 0.7925 GB, free: 3.453 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.0005913/0.2743, allocations: 0.7209 MB / 0.7932 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.2748, allocations: 154.6 kB / 0.7933 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2748, allocations: 0 / 0.7933 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.275, allocations: 134.7 kB / 0.7935 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.2754, allocations: 42.7 kB / 0.7935 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.2772, allocations: 1.554 MB / 0.795 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.2775, allocations: 0.693 MB / 0.7957 GB, free: 16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.443e-05/0.2775, allocations: 16.86 kB / 0.7957 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.2776, allocations: 23.44 kB / 0.7957 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2776, allocations: 0 / 0.7957 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.3033, allocations: 3.131 MB / 0.7988 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.922/10.23, allocations: 11.94 kB / 0.7988 GB, free: 12.95 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)