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.0009103/0.0009102, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005484/0.005484, allocations: 169.3 kB / 16.26 MB, free: 6.648 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.233/1.233, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001561/0.001561, allocations: 275 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8878/0.8878, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 10.25 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.001151/0.1514, allocations: 1.027 MB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1529, allocations: 1.147 MB / 0.6874 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.153, allocations: 4 kB / 0.6874 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.646e-05/0.1531, allocations: 11.86 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006271/0.1537, allocations: 300.8 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.127e-05/0.1537, allocations: 6.125 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1539, allocations: 135.7 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.1539, allocations: 4.188 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.154, allocations: 35.84 kB / 0.6878 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1541, allocations: 67.73 kB / 0.6879 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1541, allocations: 8 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005854/0.1547, allocations: 0.5014 MB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.1548, allocations: 75.81 kB / 0.6885 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.1549, allocations: 101 kB / 0.6886 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.1554, allocations: 0.5497 MB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1554, allocations: 0 / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1554, allocations: 0 / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1554, allocations: 4.438 kB / 0.6891 GB, free: 11 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.00049/0.1559, allocations: 0.5329 MB / 0.6896 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.156, allocations: 12.03 kB / 0.6896 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.156, allocations: 60 kB / 0.6897 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.156, allocations: 24.56 kB / 0.6897 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1563, allocations: 231.9 kB / 0.6899 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1563, allocations: 8.359 kB / 0.6899 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1563, allocations: 4.688 kB / 0.6899 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.1566, allocations: 311.8 kB / 0.6902 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1566, allocations: 7.922 kB / 0.6903 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1567, allocations: 0 / 0.6903 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.783e-05/0.1568, allocations: 87.92 kB / 0.6903 GB, free: 9.629 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.157, allocations: 244.4 kB / 0.6906 GB, free: 9.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1582, allocations: 0.6235 MB / 0.6912 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1584, allocations: 174.8 kB / 0.6913 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1586, allocations: 169.6 kB / 0.6915 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.1586, allocations: 5.656 kB / 0.6915 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1586, allocations: 42.48 kB / 0.6916 GB, free: 8.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.232e-06/0.1586, allocations: 0 / 0.6916 GB, free: 8.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006036/0.1592, allocations: 0.5213 MB / 0.6921 GB, free: 7.781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1593, allocations: 81.92 kB / 0.6921 GB, free: 7.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1595, allocations: 290.6 kB / 0.6924 GB, free: 7.398 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1595, allocations: 30.33 kB / 0.6924 GB, free: 7.363 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.1596, allocations: 138.1 kB / 0.6926 GB, free: 7.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.1597, allocations: 110.2 kB / 0.6927 GB, free: 7.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1597, allocations: 29.7 kB / 0.6927 GB, free: 7.082 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1599, allocations: 343.4 kB / 0.693 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.16, allocations: 135.9 kB / 0.6932 GB, free: 6.605 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1601, allocations: 133.3 kB / 0.6933 GB, free: 6.477 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.1605, allocations: 376.6 kB / 0.6937 GB, free: 6.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1605, allocations: 0 / 0.6937 GB, free: 6.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003708/0.1608, allocations: 387.2 kB / 0.694 GB, free: 5.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.1609, allocations: 35.58 kB / 0.6941 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1609, allocations: 0 / 0.6941 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1609, allocations: 4 kB / 0.6941 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.787e-05/0.1609, allocations: 3.984 kB / 0.6941 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.161, allocations: 7.938 kB / 0.6941 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.161, allocations: 27.59 kB / 0.6941 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.161, allocations: 8 kB / 0.6941 GB, free: 5.609 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.0001267/0.1612, allocations: 180.8 kB / 0.6943 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.1612, allocations: 23.72 kB / 0.6943 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.1612, allocations: 22.95 kB / 0.6943 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.817e-05/0.1613, allocations: 39.91 kB / 0.6944 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1613, allocations: 3.938 kB / 0.6944 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1613, allocations: 4 kB / 0.6944 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.1619, allocations: 293.3 kB / 0.6946 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1619, allocations: 11.94 kB / 0.6947 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.1619, allocations: 0 / 0.6947 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.162, allocations: 3.984 kB / 0.6947 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.162, allocations: 4 kB / 0.6947 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.162, allocations: 0 / 0.6947 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.162, allocations: 3.938 kB / 0.6947 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.1624, allocations: 490.4 kB / 0.6951 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.1625, allocations: 108.6 kB / 0.6952 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1625, allocations: 4 kB / 0.6952 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.1626, allocations: 7.984 kB / 0.6953 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.1626, allocations: 15.92 kB / 0.6953 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1626, allocations: 8 kB / 0.6953 GB, free: 4.301 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1628, allocations: 213.9 kB / 0.6955 GB, free: 4.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1628, allocations: 0 / 0.6955 GB, free: 4.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.1632, allocations: 171.9 kB / 0.6956 GB, free: 3.922 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.0009119/0.1641, allocations: 1.118 MB / 0.6967 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003805/0.1645, allocations: 387.1 kB / 0.6971 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1645, allocations: 0 / 0.6971 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1647, allocations: 243.2 kB / 0.6973 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.165, allocations: 13.25 kB / 0.6973 GB, free: 2.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.1684, allocations: 3.697 MB / 0.701 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1687, allocations: 0.7836 MB / 0.7017 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.151e-05/0.1688, allocations: 41.08 kB / 0.7018 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1689, allocations: 71.41 kB / 0.7018 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1689, allocations: 4 kB / 0.7018 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.23/1.399, allocations: 6.217 MB / 0.7079 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003466/1.4, allocations: 239.7 kB / 0.7081 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.723, allocations: 2.812 kB / 0.7081 GB, free: 7.133 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)