Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",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.004575/0.004575, allocations: 99.31 kB / 15.73 MB, free: 6.059 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.001243/0.001243, allocations: 191.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002423/0.002424, allocations: 275.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 178.6 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 95.84 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3677, allocations: 89.13 MB / 0.7813 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.001949/0.3697, allocations: 1.386 MB / 0.7827 GB, free: 52 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3718, allocations: 1.327 MB / 0.784 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.3718, allocations: 0 / 0.784 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.816e-05/0.3719, allocations: 22.47 kB / 0.784 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.3732, allocations: 0.5946 MB / 0.7846 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.117e-05/0.3732, allocations: 5.344 kB / 0.7846 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3733, allocations: 129.5 kB / 0.7847 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.3734, allocations: 4.594 kB / 0.7847 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3735, allocations: 68.28 kB / 0.7848 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3736, allocations: 72.34 kB / 0.7849 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3737, allocations: 11.16 kB / 0.7849 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008819/0.3746, allocations: 0.7127 MB / 0.7856 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.3747, allocations: 66.56 kB / 0.7856 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.3747, allocations: 61.19 kB / 0.7857 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.3756, allocations: 0.7018 MB / 0.7864 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3756, allocations: 0 / 0.7864 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3756, allocations: 4 kB / 0.7864 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.3756, allocations: 1.094 kB / 0.7864 GB, free: 13.61 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006337/0.3762, allocations: 0.5285 MB / 0.7869 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3763, allocations: 9.844 kB / 0.7869 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.3763, allocations: 49.31 kB / 0.7869 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.3764, allocations: 15.28 kB / 0.787 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.3766, allocations: 212.6 kB / 0.7872 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3766, allocations: 8.109 kB / 0.7872 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.3766, allocations: 6.906 kB / 0.7872 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.377, allocations: 238.5 kB / 0.7874 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.377, allocations: 1.094 kB / 0.7874 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.377, allocations: 3.984 kB / 0.7874 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-05/0.3771, allocations: 54.2 kB / 0.7875 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.3774, allocations: 170.2 kB / 0.7876 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.3783, allocations: 0.5414 MB / 0.7882 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.3785, allocations: 89.08 kB / 0.7882 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.3786, allocations: 48.86 kB / 0.7883 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3787, allocations: 3.938 kB / 0.7883 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3787, allocations: 32 kB / 0.7883 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3787, allocations: 0 / 0.7883 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003633/0.3791, allocations: 184.2 kB / 0.7885 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.3791, allocations: 53.38 kB / 0.7885 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.3794, allocations: 244.4 kB / 0.7888 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3794, allocations: 26.89 kB / 0.7888 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3795, allocations: 143.1 kB / 0.7889 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3795, allocations: 31.61 kB / 0.789 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.3796, allocations: 32.5 kB / 0.789 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3798, allocations: 328.7 kB / 0.7893 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.3799, allocations: 49.55 kB / 0.7894 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.38, allocations: 89.69 kB / 0.7895 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.3802, allocations: 144.2 kB / 0.7896 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3802, allocations: 0 / 0.7896 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002833/0.3805, allocations: 182 kB / 0.7898 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3805, allocations: 5.656 kB / 0.7898 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3805, allocations: 1.469 kB / 0.7898 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3805, allocations: 2.312 kB / 0.7898 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3807, allocations: 22.73 kB / 0.7898 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3807, allocations: 2.219 kB / 0.7898 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.954e-05/0.3808, allocations: 20.66 kB / 0.7898 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.3809, allocations: 19.62 kB / 0.7898 GB, free: 10.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.381, allocations: 148.3 kB / 0.79 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.3811, allocations: 18.03 kB / 0.79 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.3814, allocations: 166.7 kB / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.3814, allocations: 9.594 kB / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3814, allocations: 0 / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3814, allocations: 3.984 kB / 0.7902 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.3818, allocations: 235.1 kB / 0.7904 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3818, allocations: 5.375 kB / 0.7904 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3819, allocations: 26.14 kB / 0.7904 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3819, allocations: 1.344 kB / 0.7904 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3819, allocations: 1 kB / 0.7904 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3819, allocations: 1.281 kB / 0.7904 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3819, allocations: 0 / 0.7904 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.3822, allocations: 246.5 kB / 0.7907 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.3823, allocations: 107.8 kB / 0.7908 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.3824, allocations: 5.25 kB / 0.7908 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3825, allocations: 7.984 kB / 0.7908 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3825, allocations: 12.11 kB / 0.7908 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3825, allocations: 6.812 kB / 0.7908 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001669/0.3827, allocations: 183.2 kB / 0.791 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3827, allocations: 0 / 0.791 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005755/0.3833, allocations: 222.8 kB / 0.7912 GB, free: 9.859 MB / 0.5606 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009838/0.3843, allocations: 0.9406 MB / 0.7921 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.3846, allocations: 126.3 kB / 0.7922 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3846, allocations: 0 / 0.7922 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3847, allocations: 68.27 kB / 0.7923 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.385, allocations: 7.422 kB / 0.7923 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.3878, allocations: 2.395 MB / 0.7946 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.3882, allocations: 0.7479 MB / 0.7954 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.3883, allocations: 44.25 kB / 0.7954 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3885, allocations: 62.53 kB / 0.7955 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.3885, allocations: 0 / 0.7955 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.4162, allocations: 6.079 MB / 0.8014 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.411, allocations: 6.516 kB / 0.8014 GB, free: 3.422 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)