Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",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.008382/0.008382, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.002294/0.002294, allocations: 197 kB / 16.67 MB, free: 5.973 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 274.6 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 178.6 MB / 0.5074 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 97.94 kB / 0.6943 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4274, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002514/0.4299, allocations: 1.359 MB / 0.7827 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.432, allocations: 1.324 MB / 0.784 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.4321, allocations: 1.5 kB / 0.784 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.705e-05/0.4322, allocations: 14.22 kB / 0.784 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.4335, allocations: 0.583 MB / 0.7845 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.487e-06/0.4335, allocations: 0 / 0.7845 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.4337, allocations: 107.1 kB / 0.7846 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.4337, allocations: 12.61 kB / 0.7847 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.4338, allocations: 52.42 kB / 0.7847 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.4339, allocations: 60.83 kB / 0.7848 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.434, allocations: 12 kB / 0.7848 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000963/0.4349, allocations: 0.7081 MB / 0.7855 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.4351, allocations: 57.08 kB / 0.7855 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.4351, allocations: 55.83 kB / 0.7856 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008701/0.436, allocations: 0.684 MB / 0.7862 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.436, allocations: 0 / 0.7862 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.436, allocations: 1.125 kB / 0.7862 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.436, allocations: 4 kB / 0.7862 GB, free: 11.32 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006125/0.4367, allocations: 0.5046 MB / 0.7867 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4367, allocations: 10.5 kB / 0.7867 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.677e-05/0.4368, allocations: 47.42 kB / 0.7868 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.4368, allocations: 20.36 kB / 0.7868 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.437, allocations: 203.6 kB / 0.787 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4371, allocations: 7.891 kB / 0.787 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4371, allocations: 13.95 kB / 0.787 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.4374, allocations: 204.7 kB / 0.7872 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4374, allocations: 4 kB / 0.7872 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4374, allocations: 5.422 kB / 0.7872 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/0.4375, allocations: 44.67 kB / 0.7873 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.4377, allocations: 145 kB / 0.7874 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.4385, allocations: 0.4904 MB / 0.7879 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.4388, allocations: 87.25 kB / 0.788 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.4389, allocations: 56.86 kB / 0.788 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.4389, allocations: 1.875 kB / 0.788 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.439, allocations: 35.94 kB / 0.7881 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.439, allocations: 0 / 0.7881 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0004127/0.4394, allocations: 187 kB / 0.7882 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.4394, allocations: 56.98 kB / 0.7883 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.4397, allocations: 236.7 kB / 0.7885 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.4398, allocations: 30.33 kB / 0.7886 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.4399, allocations: 127 kB / 0.7887 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.4399, allocations: 34.41 kB / 0.7887 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.44, allocations: 35.94 kB / 0.7887 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4401, allocations: 325.8 kB / 0.789 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/0.4402, allocations: 46.84 kB / 0.7891 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4404, allocations: 76.09 kB / 0.7892 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.4405, allocations: 127.8 kB / 0.7893 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4406, allocations: 1.531 kB / 0.7893 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002478/0.4408, allocations: 167 kB / 0.7894 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4408, allocations: 6.234 kB / 0.7895 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4408, allocations: 0.9688 kB / 0.7895 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.4409, allocations: 5.219 kB / 0.7895 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.441, allocations: 14.73 kB / 0.7895 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.441, allocations: 6.125 kB / 0.7895 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.4411, allocations: 20.95 kB / 0.7895 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.4411, allocations: 7.422 kB / 0.7895 GB, free: 9.031 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001113/0.4412, allocations: 129.6 kB / 0.7896 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.4413, allocations: 15.47 kB / 0.7896 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.4416, allocations: 178.7 kB / 0.7898 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.4416, allocations: 6.016 kB / 0.7898 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4416, allocations: 6.188 kB / 0.7898 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4416, allocations: 3.984 kB / 0.7898 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.4419, allocations: 236.2 kB / 0.7901 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4419, allocations: 0.7031 kB / 0.7901 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.442, allocations: 13.05 kB / 0.7901 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.442, allocations: 0.7969 kB / 0.7901 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4421, allocations: 3.234 kB / 0.7901 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4421, allocations: 3.938 kB / 0.7901 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4421, allocations: 9.312 kB / 0.7901 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.4424, allocations: 251.6 kB / 0.7903 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.4425, allocations: 96.98 kB / 0.7904 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.4425, allocations: 1.156 kB / 0.7904 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.4426, allocations: 9.609 kB / 0.7904 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.4426, allocations: 10.7 kB / 0.7904 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4426, allocations: 6.531 kB / 0.7904 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001626/0.4428, allocations: 172 kB / 0.7906 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4428, allocations: 5.125 kB / 0.7906 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005726/0.4434, allocations: 213.2 kB / 0.7908 GB, free: 8.199 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.0009869/0.4444, allocations: 0.9292 MB / 0.7917 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.4446, allocations: 131.6 kB / 0.7919 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4447, allocations: 4 kB / 0.7919 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.4448, allocations: 73.16 kB / 0.7919 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.445, allocations: 15.67 kB / 0.7919 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.4476, allocations: 2.315 MB / 0.7942 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.448, allocations: 0.7358 MB / 0.7949 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.4481, allocations: 42.16 kB / 0.795 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.4482, allocations: 51.73 kB / 0.795 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4482, allocations: 0 / 0.795 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.4756, allocations: 5.808 MB / 0.8007 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.279, allocations: 9.016 kB / 0.8007 GB, free: 2.492 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface_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_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)