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.0009538/0.0009539, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.00527/0.00527, allocations: 172 kB / 16.26 MB, free: 6.613 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.194/1.194, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001633, allocations: 270.6 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8684/0.8684, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 15.31 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.001346/0.1585, allocations: 1.063 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1605, allocations: 1.389 MB / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.1605, allocations: 2.594 kB / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.678e-05/0.1606, allocations: 11.92 kB / 0.6876 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008936/0.1615, allocations: 383.7 kB / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.05e-05/0.1616, allocations: 3.984 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1617, allocations: 143.7 kB / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.1618, allocations: 9.969 kB / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.1619, allocations: 55.77 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.162, allocations: 71.67 kB / 0.6883 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.1621, allocations: 4 kB / 0.6883 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008324/0.1629, allocations: 0.6395 MB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.163, allocations: 60.31 kB / 0.689 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.1631, allocations: 81.88 kB / 0.6891 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007687/0.1639, allocations: 0.6551 MB / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1639, allocations: 1.875 kB / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1639, allocations: 0 / 0.6897 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1639, allocations: 0 / 0.6897 GB, free: 10.38 MB / 494.1 MB 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.0005691/0.1645, allocations: 484.2 kB / 0.6902 GB, free: 9.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1645, allocations: 8.812 kB / 0.6902 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.1646, allocations: 54.72 kB / 0.6902 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1646, allocations: 13.31 kB / 0.6902 GB, free: 9.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1648, allocations: 200.7 kB / 0.6904 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1648, allocations: 8.359 kB / 0.6904 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1648, allocations: 17.86 kB / 0.6904 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1651, allocations: 211.2 kB / 0.6906 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1651, allocations: 0 / 0.6906 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1652, allocations: 3.984 kB / 0.6906 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/0.1652, allocations: 44.55 kB / 0.6907 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.1654, allocations: 147.7 kB / 0.6908 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.1663, allocations: 0.4926 MB / 0.6913 GB, free: 8.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1665, allocations: 86.53 kB / 0.6914 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.1666, allocations: 53.88 kB / 0.6914 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1666, allocations: 4.719 kB / 0.6915 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1666, allocations: 35.44 kB / 0.6915 GB, free: 8.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1666, allocations: 0 / 0.6915 GB, free: 8.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003418/0.167, allocations: 185.9 kB / 0.6917 GB, free: 8.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.167, allocations: 61.22 kB / 0.6917 GB, free: 8.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1672, allocations: 238.9 kB / 0.6919 GB, free: 7.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1673, allocations: 25.7 kB / 0.692 GB, free: 7.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.1673, allocations: 120.2 kB / 0.6921 GB, free: 7.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1674, allocations: 35.55 kB / 0.6921 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.1674, allocations: 17.72 kB / 0.6921 GB, free: 7.664 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1675, allocations: 330.8 kB / 0.6925 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.1676, allocations: 43.97 kB / 0.6925 GB, free: 7.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.1677, allocations: 71.67 kB / 0.6926 GB, free: 7.207 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1679, allocations: 131.3 kB / 0.6927 GB, free: 7.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1679, allocations: 0 / 0.6927 GB, free: 7.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002258/0.1681, allocations: 169.3 kB / 0.6929 GB, free: 6.895 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1681, allocations: 4 kB / 0.6929 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1681, allocations: 4 kB / 0.6929 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1681, allocations: 0 / 0.6929 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.1682, allocations: 19.98 kB / 0.6929 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1683, allocations: 7.875 kB / 0.6929 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.1683, allocations: 23.78 kB / 0.6929 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.1684, allocations: 15.97 kB / 0.6929 GB, free: 6.82 MB / 494.1 MB 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 9.788e-05/0.1685, allocations: 130.5 kB / 0.693 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1685, allocations: 19.8 kB / 0.6931 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.1688, allocations: 170.9 kB / 0.6932 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.1688, allocations: 4 kB / 0.6932 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1688, allocations: 3.938 kB / 0.6932 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1688, allocations: 4 kB / 0.6932 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1691, allocations: 225.6 kB / 0.6935 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1691, allocations: 0 / 0.6935 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.1692, allocations: 12 kB / 0.6935 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1692, allocations: 0 / 0.6935 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1692, allocations: 7.984 kB / 0.6935 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1692, allocations: 0 / 0.6935 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1692, allocations: 3.938 kB / 0.6935 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1694, allocations: 259.2 kB / 0.6937 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.1695, allocations: 96.86 kB / 0.6938 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.1695, allocations: 15.92 kB / 0.6938 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.1696, allocations: 192 / 0.6938 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.1697, allocations: 11.92 kB / 0.6938 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1697, allocations: 11.94 kB / 0.6939 GB, free: 5.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1698, allocations: 176.6 kB / 0.694 GB, free: 5.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1698, allocations: 0 / 0.694 GB, free: 5.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004952/0.1703, allocations: 208 kB / 0.6942 GB, free: 5.387 MB / 494.1 MB 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.0008298/0.1711, allocations: 0.9269 MB / 0.6951 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1714, allocations: 123.8 kB / 0.6952 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1714, allocations: 0 / 0.6952 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.1715, allocations: 83.81 kB / 0.6953 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1717, allocations: 16.12 kB / 0.6953 GB, free: 4.215 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.174, allocations: 2.346 MB / 0.6976 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1743, allocations: 0.7396 MB / 0.6984 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.1744, allocations: 37.08 kB / 0.6984 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.1745, allocations: 59.41 kB / 0.6984 GB, free: 0.918 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1745, allocations: 0 / 0.6984 GB, free: 0.918 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.11/1.285, allocations: 5.526 MB / 0.7038 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002877/1.285, allocations: 271.3 kB / 0.7041 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/3.262, allocations: 4 kB / 0.7041 GB, free: 11.27 MB / 0.4981 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)