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.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001048/0.001048, allocations: 193.1 kB / 16.13 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.177/1.177, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001939/0.001939, allocations: 271 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8588/0.8588, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 93.88 kB / 0.5946 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1312, allocations: 86.98 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.001902/0.1331, allocations: 1.37 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1345, allocations: 1.162 MB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1346, allocations: 3.938 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.129e-05/0.1347, allocations: 12.8 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.1352, allocations: 300.5 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.698e-06/0.1352, allocations: 0 / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1354, allocations: 136.3 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.1354, allocations: 5.594 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.1355, allocations: 43.84 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.1356, allocations: 63.73 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1356, allocations: 4 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.1361, allocations: 0.5031 MB / 0.6831 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.1362, allocations: 75.81 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.1363, allocations: 75.3 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.1367, allocations: 0.5536 MB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1368, allocations: 0 / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1368, allocations: 3.938 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1368, allocations: 0 / 0.6837 GB, free: 12.78 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.0004874/0.1373, allocations: 0.5535 MB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1373, allocations: 8.031 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.1373, allocations: 58.67 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1374, allocations: 28.56 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1376, allocations: 239.8 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.1376, allocations: 384 / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1376, allocations: 11.92 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.1379, allocations: 308.9 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-06/0.1379, allocations: 3.938 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1379, allocations: 4 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.07e-05/0.138, allocations: 79.92 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.1383, allocations: 244.4 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1394, allocations: 0.6259 MB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1396, allocations: 178.8 kB / 0.686 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.1398, allocations: 169 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.1398, allocations: 3.984 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1398, allocations: 42.5 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.242e-06/0.1398, allocations: 0 / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005652/0.1404, allocations: 0.5322 MB / 0.6867 GB, free: 9.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1404, allocations: 81.05 kB / 0.6868 GB, free: 9.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1407, allocations: 290.6 kB / 0.6871 GB, free: 9.145 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1407, allocations: 25.7 kB / 0.6871 GB, free: 9.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.1407, allocations: 124.8 kB / 0.6872 GB, free: 8.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.1408, allocations: 118.3 kB / 0.6873 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.1409, allocations: 41.64 kB / 0.6874 GB, free: 8.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.141, allocations: 346.8 kB / 0.6877 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1411, allocations: 127.9 kB / 0.6878 GB, free: 8.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1412, allocations: 133.3 kB / 0.688 GB, free: 8.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.1416, allocations: 384.6 kB / 0.6883 GB, free: 7.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1416, allocations: 0 / 0.6883 GB, free: 7.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003528/0.1419, allocations: 387.2 kB / 0.6887 GB, free: 7.438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1419, allocations: 29.7 kB / 0.6887 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.142, allocations: 4 kB / 0.6887 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.142, allocations: 4 kB / 0.6887 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.101e-05/0.142, allocations: 0 / 0.6887 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.142, allocations: 3.938 kB / 0.6887 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.1421, allocations: 19.69 kB / 0.6888 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1421, allocations: 12 kB / 0.6888 GB, free: 7.359 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.0001142/0.1422, allocations: 184.8 kB / 0.6889 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.1423, allocations: 23.62 kB / 0.689 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.1423, allocations: 27.09 kB / 0.689 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/0.1424, allocations: 43.89 kB / 0.689 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1424, allocations: 7.938 kB / 0.689 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1424, allocations: 0 / 0.689 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.1429, allocations: 301.3 kB / 0.6893 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1429, allocations: 0 / 0.6893 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.143, allocations: 4 kB / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.143, allocations: 0 / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.143, allocations: 4 kB / 0.6893 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.143, allocations: 0 / 0.6893 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.143, allocations: 3.938 kB / 0.6893 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.1434, allocations: 490.4 kB / 0.6898 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.1435, allocations: 116.6 kB / 0.6899 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1435, allocations: 0 / 0.6899 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.1436, allocations: 4 kB / 0.6899 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.1436, allocations: 7.938 kB / 0.6899 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1436, allocations: 11.98 kB / 0.6899 GB, free: 6.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1438, allocations: 217.9 kB / 0.6902 GB, free: 5.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.1438, allocations: 0 / 0.6902 GB, free: 5.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.1442, allocations: 171.9 kB / 0.6903 GB, free: 5.664 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.0008605/0.145, allocations: 1.121 MB / 0.6914 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.1454, allocations: 383.1 kB / 0.6918 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1454, allocations: 0 / 0.6918 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1456, allocations: 243.2 kB / 0.692 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1458, allocations: 25.38 kB / 0.692 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.1489, allocations: 3.678 MB / 0.6956 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1492, allocations: 0.7754 MB / 0.6964 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.746e-05/0.1493, allocations: 45.08 kB / 0.6964 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.1494, allocations: 75.41 kB / 0.6965 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1494, allocations: 0 / 0.6965 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.689/3.839, allocations: 6.317 MB / 0.7027 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/3.839, allocations: 241.5 kB / 0.7029 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.929/7.768, allocations: 4.062 kB / 0.7029 GB, free: 8.758 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)