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.005056/0.005056, allocations: 102 kB / 15.73 MB, free: 6.02 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.001282/0.001282, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002536/0.002536, allocations: 299.1 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9993/0.9993, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 95.83 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.4002, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002528/0.4028, allocations: 1.385 MB / 0.7673 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.405, allocations: 1.327 MB / 0.7686 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.405, allocations: 4 kB / 0.7686 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.4051, allocations: 19.86 kB / 0.7686 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.4064, allocations: 0.5948 MB / 0.7692 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 9.248e-06/0.4064, allocations: 0 / 0.7692 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.4066, allocations: 127.6 kB / 0.7693 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.4067, allocations: 11.97 kB / 0.7693 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4068, allocations: 63.75 kB / 0.7694 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.4069, allocations: 75.67 kB / 0.7694 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.407, allocations: 8 kB / 0.7694 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009198/0.4079, allocations: 0.7137 MB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.408, allocations: 71.67 kB / 0.7702 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.4081, allocations: 63.55 kB / 0.7703 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008837/0.409, allocations: 0.6984 MB / 0.7709 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.409, allocations: 0 / 0.7709 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.031e-06/0.409, allocations: 4 kB / 0.7709 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.409, allocations: 3.984 kB / 0.7709 GB, free: 14.67 MB / 0.545 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.0006363/0.4097, allocations: 0.5134 MB / 0.7715 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.4097, allocations: 8.031 kB / 0.7715 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.4098, allocations: 58.72 kB / 0.7715 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.4098, allocations: 16.8 kB / 0.7715 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.41, allocations: 216 kB / 0.7717 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4101, allocations: 4.375 kB / 0.7717 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.4101, allocations: 12.36 kB / 0.7718 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.4104, allocations: 234.8 kB / 0.772 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4105, allocations: 0 / 0.772 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4105, allocations: 3.984 kB / 0.772 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-05/0.4106, allocations: 51.95 kB / 0.772 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.4108, allocations: 172.1 kB / 0.7722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009262/0.4118, allocations: 0.5437 MB / 0.7727 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.412, allocations: 82.59 kB / 0.7728 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.4121, allocations: 48.83 kB / 0.7728 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4122, allocations: 3.938 kB / 0.7729 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4122, allocations: 34.56 kB / 0.7729 GB, free: 12.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.4122, allocations: 0 / 0.7729 GB, free: 12.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003876/0.4126, allocations: 181.4 kB / 0.7731 GB, free: 12.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.4127, allocations: 51.41 kB / 0.7731 GB, free: 12.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.4129, allocations: 248 kB / 0.7733 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4129, allocations: 25.7 kB / 0.7734 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.4131, allocations: 140.1 kB / 0.7735 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.4131, allocations: 31.73 kB / 0.7735 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.4132, allocations: 33.69 kB / 0.7736 GB, free: 11.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4133, allocations: 334.8 kB / 0.7739 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.4134, allocations: 47.95 kB / 0.7739 GB, free: 11.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.4136, allocations: 83.14 kB / 0.774 GB, free: 11.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.4138, allocations: 148 kB / 0.7742 GB, free: 11.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.4138, allocations: 4 kB / 0.7742 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002931/0.4141, allocations: 189.3 kB / 0.7743 GB, free: 10.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4141, allocations: 4 kB / 0.7743 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4141, allocations: 4 kB / 0.7743 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4141, allocations: 0 / 0.7743 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4143, allocations: 19.98 kB / 0.7744 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4143, allocations: 4.125 kB / 0.7744 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.354e-05/0.4144, allocations: 19.83 kB / 0.7744 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.4145, allocations: 8 kB / 0.7744 GB, free: 10.88 MB / 0.545 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.0001227/0.4146, allocations: 148.1 kB / 0.7745 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.4146, allocations: 23.8 kB / 0.7746 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.415, allocations: 163 kB / 0.7747 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.415, allocations: 12 kB / 0.7747 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.415, allocations: 0 / 0.7747 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.415, allocations: 0 / 0.7747 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.4154, allocations: 249.5 kB / 0.775 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4154, allocations: 3.938 kB / 0.775 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.4155, allocations: 15.94 kB / 0.775 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4155, allocations: 0 / 0.775 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4155, allocations: 7.984 kB / 0.775 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4155, allocations: 0 / 0.775 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4156, allocations: 0 / 0.775 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.4159, allocations: 255.3 kB / 0.7752 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.4159, allocations: 100.9 kB / 0.7753 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.416, allocations: 0 / 0.7753 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.4161, allocations: 0 / 0.7753 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.4161, allocations: 11.92 kB / 0.7753 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4161, allocations: 8 kB / 0.7753 GB, free: 9.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001835/0.4163, allocations: 188.9 kB / 0.7755 GB, free: 9.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4163, allocations: 0 / 0.7755 GB, free: 9.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005439/0.4169, allocations: 219.7 kB / 0.7757 GB, free: 9.402 MB / 0.545 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.001059/0.4179, allocations: 0.9385 MB / 0.7767 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.4183, allocations: 127.8 kB / 0.7768 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4183, allocations: 256 / 0.7768 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4184, allocations: 71.95 kB / 0.7768 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.4187, allocations: 16.66 kB / 0.7769 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.4217, allocations: 2.391 MB / 0.7792 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.4222, allocations: 0.7551 MB / 0.7799 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.4223, allocations: 41.41 kB / 0.78 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4224, allocations: 59.41 kB / 0.78 GB, free: 4.855 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.4224, allocations: 0 / 0.78 GB, free: 4.855 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.4509, allocations: 6.075 MB / 0.786 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.449, allocations: 12.88 kB / 0.786 GB, free: 14.95 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)