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.00133/0.00133, 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.001295/0.001295, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 97.66 kB / 0.6065 GB, free: 24.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1535, allocations: 89.14 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.00247/0.156, allocations: 1.385 MB / 0.695 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1583, allocations: 1.342 MB / 0.6963 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.1584, allocations: 0 / 0.6963 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.67e-05/0.1585, allocations: 11.86 kB / 0.6963 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.1601, allocations: 0.5948 MB / 0.6969 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.325e-05/0.1601, allocations: 7.984 kB / 0.6969 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1603, allocations: 123.6 kB / 0.697 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.1603, allocations: 7.984 kB / 0.697 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1605, allocations: 59.75 kB / 0.697 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1606, allocations: 79.7 kB / 0.6971 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1607, allocations: 12 kB / 0.6971 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009016/0.1616, allocations: 0.7098 MB / 0.6978 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.1617, allocations: 59.86 kB / 0.6979 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.95e-05/0.1617, allocations: 71.39 kB / 0.698 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007936/0.1625, allocations: 0.6902 MB / 0.6986 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.1626, allocations: 0 / 0.6986 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1626, allocations: 0 / 0.6986 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1626, allocations: 0 / 0.6986 GB, free: 15.04 MB / 0.4981 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.000629/0.1632, allocations: 0.5144 MB / 0.6991 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1632, allocations: 12.03 kB / 0.6991 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/0.1633, allocations: 58.7 kB / 0.6992 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.1634, allocations: 20.66 kB / 0.6992 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.1636, allocations: 202.7 kB / 0.6994 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1636, allocations: 8.359 kB / 0.6994 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1636, allocations: 16.3 kB / 0.6994 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.164, allocations: 230.5 kB / 0.6997 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.164, allocations: 0 / 0.6997 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.164, allocations: 0 / 0.6997 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.613e-05/0.1641, allocations: 55.95 kB / 0.6997 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.1644, allocations: 168.2 kB / 0.6999 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009114/0.1653, allocations: 0.5513 MB / 0.7004 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.1656, allocations: 82.59 kB / 0.7005 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.1657, allocations: 44.83 kB / 0.7005 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1657, allocations: 11.92 kB / 0.7005 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1657, allocations: 38.55 kB / 0.7006 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1657, allocations: 0 / 0.7006 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003605/0.1661, allocations: 169.4 kB / 0.7007 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1661, allocations: 55.39 kB / 0.7008 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1664, allocations: 240.1 kB / 0.701 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1664, allocations: 33.7 kB / 0.701 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1665, allocations: 140 kB / 0.7012 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1666, allocations: 31.55 kB / 0.7012 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.1666, allocations: 33.7 kB / 0.7012 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1668, allocations: 326.8 kB / 0.7016 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1669, allocations: 51.89 kB / 0.7016 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.167, allocations: 84.25 kB / 0.7017 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1672, allocations: 140.2 kB / 0.7018 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1672, allocations: 0 / 0.7018 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002928/0.1675, allocations: 185.3 kB / 0.702 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1676, allocations: 8 kB / 0.702 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1676, allocations: 8 kB / 0.702 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1676, allocations: 4 kB / 0.702 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.1678, allocations: 15.98 kB / 0.702 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1678, allocations: 4 kB / 0.702 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.1679, allocations: 19.69 kB / 0.7021 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1679, allocations: 15.98 kB / 0.7021 GB, free: 11.25 MB / 0.4981 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.0001334/0.1681, allocations: 137.8 kB / 0.7022 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.1681, allocations: 23.75 kB / 0.7022 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.1685, allocations: 167 kB / 0.7024 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.1685, allocations: 4 kB / 0.7024 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1685, allocations: 0 / 0.7024 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1685, allocations: 4 kB / 0.7024 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.1688, allocations: 253.3 kB / 0.7026 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1689, allocations: 3.938 kB / 0.7026 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.169, allocations: 19.94 kB / 0.7027 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.169, allocations: 3.984 kB / 0.7027 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.169, allocations: 0 / 0.7027 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.169, allocations: 4 kB / 0.7027 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.169, allocations: 0 / 0.7027 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.1693, allocations: 247.3 kB / 0.7029 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.1694, allocations: 96.84 kB / 0.703 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1694, allocations: 3.984 kB / 0.703 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1695, allocations: 8 kB / 0.703 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1696, allocations: 8 kB / 0.703 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1696, allocations: 7.984 kB / 0.703 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001809/0.1698, allocations: 189.1 kB / 0.7032 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1698, allocations: 0 / 0.7032 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005439/0.1703, allocations: 219.9 kB / 0.7034 GB, free: 9.777 MB / 0.4981 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.0009887/0.1713, allocations: 0.9308 MB / 0.7043 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.1717, allocations: 139.8 kB / 0.7044 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1717, allocations: 0 / 0.7044 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1718, allocations: 67.95 kB / 0.7045 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.1721, allocations: 8.672 kB / 0.7045 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.1748, allocations: 2.401 MB / 0.7069 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1752, allocations: 0.7551 MB / 0.7076 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.1753, allocations: 41.41 kB / 0.7076 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.1755, allocations: 55.42 kB / 0.7077 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1755, allocations: 0 / 0.7077 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.2036, allocations: 6.028 MB / 0.7136 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.004, allocations: 8.562 kB / 0.7136 GB, free: 15.36 MB / 0.5137 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)