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.004907/0.004907, allocations: 96.69 kB / 15.73 MB, free: 6.031 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.001094/0.001094, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 286.6 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8987/0.8987, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 103.9 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1401, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002204/0.1423, allocations: 1.323 MB / 0.7672 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.144, allocations: 1.073 MB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.1441, allocations: 4 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.493e-05/0.1442, allocations: 11.92 kB / 0.7683 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.1453, allocations: 0.4896 MB / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.389e-05/0.1453, allocations: 0 / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1455, allocations: 99.7 kB / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.1455, allocations: 4.188 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.1456, allocations: 47.78 kB / 0.7689 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.759e-05/0.1457, allocations: 51.86 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1457, allocations: 4 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.1464, allocations: 0.5616 MB / 0.7695 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.1466, allocations: 79.69 kB / 0.7696 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.1466, allocations: 75.34 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.1473, allocations: 0.5766 MB / 0.7702 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1473, allocations: 0 / 0.7702 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1473, allocations: 0 / 0.7702 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1473, allocations: 0 / 0.7702 GB, free: 4.523 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.0006002/0.1479, allocations: 0.5734 MB / 0.7707 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1479, allocations: 8.031 kB / 0.7708 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.148, allocations: 62.7 kB / 0.7708 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.1481, allocations: 28.75 kB / 0.7708 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1483, allocations: 235.9 kB / 0.7711 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1483, allocations: 8.359 kB / 0.7711 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1483, allocations: 7.938 kB / 0.7711 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.1487, allocations: 304.9 kB / 0.7714 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1487, allocations: 0 / 0.7714 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1487, allocations: 0 / 0.7714 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.1488, allocations: 87.92 kB / 0.7715 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.1491, allocations: 248.4 kB / 0.7717 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1504, allocations: 0.6261 MB / 0.7723 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1506, allocations: 179.2 kB / 0.7725 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1507, allocations: 169.1 kB / 0.7726 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.1508, allocations: 0 / 0.7726 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1508, allocations: 34.56 kB / 0.7727 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.242e-06/0.1508, allocations: 0 / 0.7727 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0006734/0.1515, allocations: 0.5362 MB / 0.7732 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1515, allocations: 81.05 kB / 0.7733 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1518, allocations: 294.5 kB / 0.7736 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1518, allocations: 29.69 kB / 0.7736 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.1519, allocations: 136.7 kB / 0.7737 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.152, allocations: 111 kB / 0.7738 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.1521, allocations: 45.67 kB / 0.7739 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1522, allocations: 338.8 kB / 0.7742 GB, free: 192 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.1524, allocations: 135.9 kB / 0.7743 GB, free: 56 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.31/0.4624, allocations: 131.2 kB / 0.7744 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.4629, allocations: 379.3 kB / 0.7748 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4629, allocations: 0 / 0.7748 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004642/0.4634, allocations: 385.1 kB / 0.7752 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.4634, allocations: 33.2 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4634, allocations: 0 / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4635, allocations: 1.891 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.4635, allocations: 1.344 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4635, allocations: 2.953 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.4636, allocations: 23.67 kB / 0.7752 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.4636, allocations: 10.02 kB / 0.7752 GB, free: 14.66 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.0001262/0.4638, allocations: 186.9 kB / 0.7754 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.4638, allocations: 27.39 kB / 0.7754 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.4638, allocations: 22.38 kB / 0.7755 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.18e-05/0.4639, allocations: 38.38 kB / 0.7755 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4639, allocations: 1.094 kB / 0.7755 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4639, allocations: 3.375 kB / 0.7755 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.4645, allocations: 297.1 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4645, allocations: 0.6562 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.4645, allocations: 3.562 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4645, allocations: 0.625 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4646, allocations: 5.406 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4646, allocations: 1.203 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4646, allocations: 3.438 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.465, allocations: 0.4923 MB / 0.7763 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.4651, allocations: 112.3 kB / 0.7764 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.4651, allocations: 1.359 kB / 0.7764 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.4652, allocations: 5.812 kB / 0.7764 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.4652, allocations: 5.656 kB / 0.7764 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4652, allocations: 11.16 kB / 0.7764 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001845/0.4654, allocations: 216.4 kB / 0.7766 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.8e-07/0.4654, allocations: 0.75 kB / 0.7766 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004794/0.4659, allocations: 179.6 kB / 0.7768 GB, free: 13.93 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.0008436/0.4668, allocations: 1.129 MB / 0.7779 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.4672, allocations: 386 kB / 0.7783 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4672, allocations: 1 kB / 0.7783 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.4675, allocations: 241.5 kB / 0.7785 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.4677, allocations: 13.73 kB / 0.7785 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.471, allocations: 3.631 MB / 0.7821 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.4712, allocations: 0.7762 MB / 0.7828 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.4713, allocations: 44.47 kB / 0.7829 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.4714, allocations: 73.86 kB / 0.7829 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4714, allocations: 1.594 kB / 0.7829 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.4924, allocations: 6.553 MB / 0.7893 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.891, allocations: 1.719 kB / 0.7893 GB, free: 10.21 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)