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.001511/0.001511, allocations: 108 kB / 15.6 MB, free: 132 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.001674/0.001674, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 278.9 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9366/0.9366, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 103.5 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1335, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002303/0.1358, allocations: 1.343 MB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1377, allocations: 1.321 MB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.1378, allocations: 0 / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.192e-05/0.1379, allocations: 19.84 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.1391, allocations: 0.5831 MB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.759e-06/0.1391, allocations: 0 / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1393, allocations: 99.72 kB / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.1393, allocations: 4.234 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1394, allocations: 55.75 kB / 0.6836 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1396, allocations: 67.67 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1396, allocations: 8 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.1404, allocations: 0.7059 MB / 0.6844 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.1405, allocations: 59.86 kB / 0.6845 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.1406, allocations: 55.55 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007925/0.1414, allocations: 0.6785 MB / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1414, allocations: 0 / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1414, allocations: 4 kB / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1414, allocations: 0 / 0.6852 GB, free: 11.57 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.0005841/0.142, allocations: 498.9 kB / 0.6857 GB, free: 11.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1421, allocations: 12.03 kB / 0.6857 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.1421, allocations: 54.66 kB / 0.6857 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1422, allocations: 24.66 kB / 0.6857 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1424, allocations: 200.1 kB / 0.6859 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1424, allocations: 8.359 kB / 0.6859 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1424, allocations: 8.375 kB / 0.6859 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.1427, allocations: 211.2 kB / 0.6861 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1427, allocations: 0 / 0.6861 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1427, allocations: 7.984 kB / 0.6862 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/0.1428, allocations: 47.95 kB / 0.6862 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.143, allocations: 144.8 kB / 0.6863 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.1437, allocations: 0.4964 MB / 0.6868 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.144, allocations: 86.53 kB / 0.6869 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.1441, allocations: 56.81 kB / 0.687 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1441, allocations: 0 / 0.687 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.1441, allocations: 34.56 kB / 0.687 GB, free: 9.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1441, allocations: 0 / 0.687 GB, free: 9.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003519/0.1445, allocations: 193.2 kB / 0.6872 GB, free: 9.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1445, allocations: 59.33 kB / 0.6872 GB, free: 9.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.1447, allocations: 231.2 kB / 0.6875 GB, free: 9.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1448, allocations: 29.7 kB / 0.6875 GB, free: 9.004 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.1448, allocations: 120.2 kB / 0.6876 GB, free: 8.883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1449, allocations: 31.55 kB / 0.6876 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1449, allocations: 29.7 kB / 0.6877 GB, free: 8.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.145, allocations: 330.8 kB / 0.688 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.1451, allocations: 43.95 kB / 0.688 GB, free: 8.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/0.1452, allocations: 75.33 kB / 0.6881 GB, free: 8.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1454, allocations: 131.3 kB / 0.6882 GB, free: 8.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1454, allocations: 4 kB / 0.6882 GB, free: 8.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000234/0.1457, allocations: 157.4 kB / 0.6884 GB, free: 8.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1457, allocations: 9.875 kB / 0.6884 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1457, allocations: 0 / 0.6884 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1457, allocations: 0 / 0.6884 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1458, allocations: 19.92 kB / 0.6884 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1458, allocations: 3.938 kB / 0.6884 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.1459, allocations: 27.78 kB / 0.6884 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1459, allocations: 4.375 kB / 0.6884 GB, free: 7.988 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.704e-05/0.146, allocations: 134.5 kB / 0.6886 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.1461, allocations: 15.81 kB / 0.6886 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.1464, allocations: 174.8 kB / 0.6887 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.1464, allocations: 4 kB / 0.6887 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1464, allocations: 7.922 kB / 0.6887 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1464, allocations: 8 kB / 0.6888 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.1467, allocations: 221.6 kB / 0.689 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1467, allocations: 4 kB / 0.689 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.1468, allocations: 16.11 kB / 0.689 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1468, allocations: 0 / 0.689 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1468, allocations: 8 kB / 0.689 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1468, allocations: 0 / 0.689 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1468, allocations: 3.938 kB / 0.689 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1471, allocations: 259.2 kB / 0.6892 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.1472, allocations: 96.77 kB / 0.6893 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1472, allocations: 3.984 kB / 0.6893 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.1473, allocations: 7.938 kB / 0.6893 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.1473, allocations: 11.94 kB / 0.6894 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1473, allocations: 7.984 kB / 0.6894 GB, free: 6.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1475, allocations: 177 kB / 0.6895 GB, free: 6.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1475, allocations: 0 / 0.6895 GB, free: 6.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000508/0.148, allocations: 212 kB / 0.6897 GB, free: 6.543 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.0008636/0.1489, allocations: 0.9269 MB / 0.6906 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1491, allocations: 135.8 kB / 0.6908 GB, free: 5.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1491, allocations: 4 kB / 0.6908 GB, free: 5.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1492, allocations: 75.88 kB / 0.6908 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1495, allocations: 24.17 kB / 0.6909 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.1518, allocations: 2.306 MB / 0.6931 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.152, allocations: 0.7435 MB / 0.6939 GB, free: 2.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.1522, allocations: 41.02 kB / 0.6939 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.1523, allocations: 51.41 kB / 0.6939 GB, free: 2.098 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1523, allocations: 0 / 0.6939 GB, free: 2.098 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4667/0.619, allocations: 5.756 MB / 0.6996 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.109/9.728, allocations: 12.5 kB / 0.6996 GB, free: 12.5 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)