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.008309/0.008309, allocations: 103 kB / 15.73 MB, free: 6.035 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.002345/0.002345, allocations: 197.4 kB / 16.68 MB, free: 5.953 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 287 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8977/0.8977, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001853, allocations: 91.84 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4247, allocations: 86.97 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.00273/0.4275, allocations: 1.358 MB / 0.7672 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.4297, allocations: 1.324 MB / 0.7685 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.4298, allocations: 0 / 0.7685 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.584e-05/0.4299, allocations: 15.92 kB / 0.7685 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.4314, allocations: 0.5831 MB / 0.7691 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.101e-05/0.4314, allocations: 0 / 0.7691 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.4316, allocations: 107.6 kB / 0.7692 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.4316, allocations: 4.234 kB / 0.7692 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4318, allocations: 51.75 kB / 0.7693 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.4319, allocations: 71.73 kB / 0.7693 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.432, allocations: 4 kB / 0.7693 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.433, allocations: 0.7097 MB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.4332, allocations: 55.81 kB / 0.7701 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.4332, allocations: 55.61 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009971/0.4342, allocations: 0.6849 MB / 0.7708 GB, free: 14.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4343, allocations: 0 / 0.7708 GB, free: 14.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4343, allocations: 0 / 0.7708 GB, free: 14.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4343, allocations: 0 / 0.7708 GB, free: 14.81 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006734/0.4349, allocations: 0.4949 MB / 0.7713 GB, free: 14.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.435, allocations: 15.97 kB / 0.7713 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.4351, allocations: 54.72 kB / 0.7713 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.4351, allocations: 12.75 kB / 0.7714 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.4353, allocations: 202.6 kB / 0.7716 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4353, allocations: 8.359 kB / 0.7716 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4354, allocations: 12.36 kB / 0.7716 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.4356, allocations: 206.6 kB / 0.7718 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4357, allocations: 0 / 0.7718 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.4357, allocations: 7.984 kB / 0.7718 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-05/0.4358, allocations: 43.95 kB / 0.7718 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.436, allocations: 148.2 kB / 0.772 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.4368, allocations: 0.4926 MB / 0.7724 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.437, allocations: 90.52 kB / 0.7725 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/0.4371, allocations: 52.81 kB / 0.7726 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.4372, allocations: 4 kB / 0.7726 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4372, allocations: 38.56 kB / 0.7726 GB, free: 12.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4372, allocations: 0 / 0.7726 GB, free: 12.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003564/0.4376, allocations: 181.3 kB / 0.7728 GB, free: 12.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4376, allocations: 59.33 kB / 0.7728 GB, free: 12.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.4378, allocations: 235.7 kB / 0.7731 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.4379, allocations: 25.7 kB / 0.7731 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.438, allocations: 124.1 kB / 0.7732 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.438, allocations: 31.55 kB / 0.7732 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.438, allocations: 45.59 kB / 0.7733 GB, free: 12.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4382, allocations: 322.8 kB / 0.7736 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.4383, allocations: 48.23 kB / 0.7736 GB, free: 11.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/0.4384, allocations: 75.33 kB / 0.7737 GB, free: 11.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.4385, allocations: 135.2 kB / 0.7738 GB, free: 11.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4386, allocations: 0 / 0.7738 GB, free: 11.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002455/0.4388, allocations: 165.3 kB / 0.774 GB, free: 11.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4388, allocations: 4 kB / 0.774 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4388, allocations: 0 / 0.774 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4389, allocations: 4 kB / 0.774 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.439, allocations: 12 kB / 0.774 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.439, allocations: 11.86 kB / 0.774 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.4391, allocations: 15.94 kB / 0.774 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.4391, allocations: 12 kB / 0.7741 GB, free: 11.21 MB / 0.545 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.0001004/0.4392, allocations: 132.2 kB / 0.7742 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.4393, allocations: 15.81 kB / 0.7742 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.4395, allocations: 166.9 kB / 0.7744 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.4396, allocations: 8 kB / 0.7744 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4396, allocations: 3.938 kB / 0.7744 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4396, allocations: 7.984 kB / 0.7744 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.4399, allocations: 233.4 kB / 0.7746 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4399, allocations: 0 / 0.7746 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.44, allocations: 15.98 kB / 0.7746 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.44, allocations: 3.938 kB / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.44, allocations: 0 / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.44, allocations: 4 kB / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.44, allocations: 3.938 kB / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.4403, allocations: 255.2 kB / 0.7749 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.4404, allocations: 93.2 kB / 0.775 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.4404, allocations: 4.109 kB / 0.775 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.4405, allocations: 8 kB / 0.775 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.4405, allocations: 11.88 kB / 0.775 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.4406, allocations: 8 kB / 0.775 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001565/0.4407, allocations: 172.6 kB / 0.7752 GB, free: 9.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4407, allocations: 4 kB / 0.7752 GB, free: 9.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005567/0.4413, allocations: 204 kB / 0.7754 GB, free: 9.789 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.001007/0.4423, allocations: 0.93 MB / 0.7763 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.4426, allocations: 131.8 kB / 0.7764 GB, free: 8.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4426, allocations: 0 / 0.7764 GB, free: 8.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.4427, allocations: 79.88 kB / 0.7765 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.443, allocations: 12.12 kB / 0.7765 GB, free: 8.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.4456, allocations: 2.313 MB / 0.7787 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.446, allocations: 0.7434 MB / 0.7795 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000192/0.4462, allocations: 41.06 kB / 0.7795 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.4463, allocations: 47.42 kB / 0.7795 GB, free: 5.348 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.4463, allocations: 0 / 0.7795 GB, free: 5.348 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.47, allocations: 5.803 MB / 0.7852 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.372, allocations: 12.44 kB / 0.7852 GB, free: 15.74 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)