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.004466/0.004466, allocations: 97.97 kB / 15.73 MB, free: 6.004 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.001252/0.001252, allocations: 192.9 kB / 16.67 MB, free: 5.934 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002558/0.002558, allocations: 290.8 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 91.92 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.154, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002317/0.1564, allocations: 1.319 MB / 0.7672 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1581, allocations: 1.077 MB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.1582, allocations: 0 / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.112e-05/0.1583, allocations: 15.92 kB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.1594, allocations: 493.4 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.643e-05/0.1594, allocations: 4 kB / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1596, allocations: 103.7 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.1596, allocations: 4.188 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.1597, allocations: 51.81 kB / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.1598, allocations: 47.83 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1598, allocations: 7.938 kB / 0.7689 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007908/0.1606, allocations: 0.5616 MB / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1607, allocations: 75.75 kB / 0.7696 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.1608, allocations: 71.36 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006914/0.1615, allocations: 0.5805 MB / 0.7702 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1615, allocations: 0 / 0.7702 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1615, allocations: 4 kB / 0.7702 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1615, allocations: 0 / 0.7702 GB, free: 4.516 MB / 0.5606 GB 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.0006853/0.1622, allocations: 0.5773 MB / 0.7708 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1623, allocations: 8.031 kB / 0.7708 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/0.1623, allocations: 50.73 kB / 0.7708 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1624, allocations: 24.75 kB / 0.7708 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1627, allocations: 247.9 kB / 0.7711 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1627, allocations: 4.375 kB / 0.7711 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.1627, allocations: 7.938 kB / 0.7711 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.1631, allocations: 308.9 kB / 0.7714 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1631, allocations: 0 / 0.7714 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1631, allocations: 3.984 kB / 0.7714 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.1633, allocations: 87.92 kB / 0.7715 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.1636, allocations: 240.4 kB / 0.7717 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.165, allocations: 0.6222 MB / 0.7723 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1652, allocations: 179.2 kB / 0.7725 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.1654, allocations: 169.1 kB / 0.7726 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.1654, allocations: 0 / 0.7726 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1655, allocations: 42.55 kB / 0.7727 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.132e-06/0.1655, allocations: 0 / 0.7727 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0007464/0.1662, allocations: 0.5285 MB / 0.7732 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.1663, allocations: 84.98 kB / 0.7733 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.1666, allocations: 294.5 kB / 0.7736 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1667, allocations: 25.7 kB / 0.7736 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.1668, allocations: 140.7 kB / 0.7737 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.548e-05/0.1669, allocations: 114.9 kB / 0.7738 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.1669, allocations: 41.7 kB / 0.7739 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1671, allocations: 338.8 kB / 0.7742 GB, free: 188 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.1673, allocations: 135.9 kB / 0.7743 GB, free: 52 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2831/0.4504, allocations: 125.2 kB / 0.7744 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.4509, allocations: 382.1 kB / 0.7748 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4509, allocations: 0 / 0.7748 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000503/0.4514, allocations: 386.3 kB / 0.7752 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4515, allocations: 32.42 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4515, allocations: 1.312 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4515, allocations: 3.562 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.4516, allocations: 1.922 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4516, allocations: 5.969 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.4517, allocations: 21.23 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.4517, allocations: 11.52 kB / 0.7752 GB, free: 15.18 MB / 0.5606 GB 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.0001282/0.4518, allocations: 182.3 kB / 0.7754 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.4519, allocations: 28.27 kB / 0.7754 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.4519, allocations: 25.92 kB / 0.7755 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.881e-05/0.452, allocations: 40.12 kB / 0.7755 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.452, allocations: 0.8438 kB / 0.7755 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.452, allocations: 0 / 0.7755 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.4527, allocations: 299.8 kB / 0.7758 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4527, allocations: 1.578 kB / 0.7758 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.4527, allocations: 2.25 kB / 0.7758 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4527, allocations: 0.8125 kB / 0.7758 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.4527, allocations: 4.547 kB / 0.7758 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4527, allocations: 6.297 kB / 0.7758 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4527, allocations: 0.6562 kB / 0.7758 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.4532, allocations: 497 kB / 0.7763 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.4533, allocations: 114.7 kB / 0.7764 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.4533, allocations: 2.516 kB / 0.7764 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.4534, allocations: 0 / 0.7764 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.4534, allocations: 6.547 kB / 0.7764 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.4535, allocations: 10.17 kB / 0.7764 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002091/0.4537, allocations: 217 kB / 0.7766 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4537, allocations: 1.422 kB / 0.7766 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005137/0.4542, allocations: 178.5 kB / 0.7768 GB, free: 14.45 MB / 0.5606 GB 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.0009451/0.4552, allocations: 1.132 MB / 0.7779 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.4557, allocations: 385.9 kB / 0.7783 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4557, allocations: 0.9062 kB / 0.7783 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.4559, allocations: 243.2 kB / 0.7785 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.4562, allocations: 10.06 kB / 0.7785 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.4597, allocations: 3.635 MB / 0.7821 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.46, allocations: 0.7747 MB / 0.7828 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.4601, allocations: 41.95 kB / 0.7829 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.4602, allocations: 80.77 kB / 0.7829 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.4602, allocations: 0 / 0.7829 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.4877, allocations: 6.544 MB / 0.7893 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.666, allocations: 7.234 kB / 0.7893 GB, free: 10.44 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)