Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",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.001051/0.001051, 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.001122/0.001122, allocations: 197.7 kB / 16.53 MB, free: 6.66 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 282.5 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9473/0.9473, allocations: 169.2 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 91.55 kB / 0.5954 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 86.97 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002156/0.1347, allocations: 1.311 MB / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1363, allocations: 1.095 MB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.1364, allocations: 0.6562 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.871e-05/0.1364, allocations: 15.92 kB / 0.6827 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009649/0.1374, allocations: 487.4 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.216e-05/0.1374, allocations: 0 / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1376, allocations: 103.7 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.1376, allocations: 4.188 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.1377, allocations: 46.39 kB / 0.6833 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1378, allocations: 63.75 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1378, allocations: 4 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.1385, allocations: 0.5538 MB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.1386, allocations: 63.83 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.1386, allocations: 75.28 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.1392, allocations: 0.5886 MB / 0.6846 GB, free: 12.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1392, allocations: 0.7812 kB / 0.6846 GB, free: 12.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1392, allocations: 0 / 0.6846 GB, free: 12.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1392, allocations: 0.875 kB / 0.6846 GB, free: 12.2 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005367/0.1398, allocations: 0.5476 MB / 0.6851 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1398, allocations: 9.156 kB / 0.6851 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.1399, allocations: 58.72 kB / 0.6852 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1399, allocations: 24.56 kB / 0.6852 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1401, allocations: 236.7 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1401, allocations: 384 / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1402, allocations: 7.938 kB / 0.6854 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.1405, allocations: 316.8 kB / 0.6857 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1405, allocations: 8 kB / 0.6857 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1405, allocations: 3.984 kB / 0.6857 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.1406, allocations: 79.92 kB / 0.6858 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.1409, allocations: 248.4 kB / 0.6861 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1421, allocations: 0.6258 MB / 0.6867 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1423, allocations: 178.8 kB / 0.6868 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1425, allocations: 177 kB / 0.687 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.1425, allocations: 0 / 0.687 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1425, allocations: 30.56 kB / 0.687 GB, free: 9.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.192e-06/0.1425, allocations: 0 / 0.687 GB, free: 9.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006257/0.1432, allocations: 0.5322 MB / 0.6876 GB, free: 8.953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1432, allocations: 85.05 kB / 0.6876 GB, free: 8.852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1435, allocations: 290.6 kB / 0.6879 GB, free: 8.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1435, allocations: 29.64 kB / 0.6879 GB, free: 8.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.1436, allocations: 132.8 kB / 0.6881 GB, free: 8.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.1437, allocations: 110.3 kB / 0.6882 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.1437, allocations: 37.69 kB / 0.6882 GB, free: 8.238 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1438, allocations: 342.8 kB / 0.6885 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.144, allocations: 131.9 kB / 0.6887 GB, free: 7.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1441, allocations: 140.5 kB / 0.6888 GB, free: 7.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.1445, allocations: 377.5 kB / 0.6892 GB, free: 7.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1445, allocations: 0 / 0.6892 GB, free: 7.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003864/0.1449, allocations: 387.2 kB / 0.6895 GB, free: 6.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.1449, allocations: 29.7 kB / 0.6896 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1449, allocations: 4 kB / 0.6896 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1449, allocations: 0 / 0.6896 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/0.145, allocations: 0 / 0.6896 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.145, allocations: 7.922 kB / 0.6896 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.145, allocations: 23.69 kB / 0.6896 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.1451, allocations: 12 kB / 0.6896 GB, free: 6.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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.0001277/0.1452, allocations: 180.8 kB / 0.6898 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.1453, allocations: 31.62 kB / 0.6898 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.1453, allocations: 22.95 kB / 0.6898 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.685e-05/0.1454, allocations: 35.97 kB / 0.6899 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1454, allocations: 7.875 kB / 0.6899 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1454, allocations: 0 / 0.6899 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.146, allocations: 297.3 kB / 0.6902 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.146, allocations: 0 / 0.6902 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.146, allocations: 4 kB / 0.6902 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.146, allocations: 4 kB / 0.6902 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1461, allocations: 7.984 kB / 0.6902 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1461, allocations: 0 / 0.6902 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1461, allocations: 3.938 kB / 0.6902 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.1465, allocations: 486.4 kB / 0.6906 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.1466, allocations: 112.6 kB / 0.6907 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1466, allocations: 0 / 0.6907 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.1467, allocations: 11.94 kB / 0.6908 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.1467, allocations: 15.92 kB / 0.6908 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1467, allocations: 8 kB / 0.6908 GB, free: 5.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1469, allocations: 217.9 kB / 0.691 GB, free: 5.246 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1469, allocations: 0 / 0.691 GB, free: 5.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000425/0.1474, allocations: 164 kB / 0.6911 GB, free: 5.086 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 (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * 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.0009557/0.1483, allocations: 1.132 MB / 0.6922 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1487, allocations: 403 kB / 0.6926 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1488, allocations: 4 kB / 0.6926 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.149, allocations: 235.3 kB / 0.6929 GB, free: 3.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.1492, allocations: 13.25 kB / 0.6929 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.1526, allocations: 3.617 MB / 0.6964 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1529, allocations: 0.7753 MB / 0.6972 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.855e-05/0.1529, allocations: 41.08 kB / 0.6972 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.153, allocations: 75.41 kB / 0.6973 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of SimCode: time 1.452e-06/0.1531, allocations: 0 / 0.6973 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4319/0.5849, allocations: 6.471 MB / 0.7036 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.11/9.695, allocations: 19.61 kB / 0.7036 GB, free: 8.301 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)