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.004943/0.004943, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001253/0.001253, allocations: 193.7 kB / 16.68 MB, free: 6.363 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002649/0.002649, allocations: 285.5 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5074 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 94.45 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4068, allocations: 89.14 MB / 0.7813 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002256/0.4091, allocations: 1.322 MB / 0.7826 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.4108, allocations: 1.085 MB / 0.7837 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.4109, allocations: 0 / 0.7837 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.46e-05/0.411, allocations: 15.5 kB / 0.7837 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.412, allocations: 485.9 kB / 0.7842 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.595e-05/0.412, allocations: 9.219 kB / 0.7842 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.4122, allocations: 101.8 kB / 0.7843 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.4123, allocations: 13.25 kB / 0.7843 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.4123, allocations: 45.44 kB / 0.7843 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.4124, allocations: 55.48 kB / 0.7844 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.4125, allocations: 4.812 kB / 0.7844 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007902/0.4133, allocations: 0.5559 MB / 0.7849 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4134, allocations: 76.41 kB / 0.785 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.4135, allocations: 70.84 kB / 0.7851 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.4142, allocations: 0.5782 MB / 0.7856 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4142, allocations: 5.312 kB / 0.7856 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.126e-06/0.4142, allocations: 0 / 0.7856 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.4142, allocations: 4.594 kB / 0.7856 GB, free: 11.62 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.0006843/0.4149, allocations: 0.5665 MB / 0.7862 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.4149, allocations: 10.09 kB / 0.7862 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.415, allocations: 54.45 kB / 0.7863 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.4151, allocations: 24 kB / 0.7863 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.4153, allocations: 241.5 kB / 0.7865 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4153, allocations: 3.281 kB / 0.7865 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.4154, allocations: 10.94 kB / 0.7865 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.4157, allocations: 313.7 kB / 0.7868 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4158, allocations: 1.219 kB / 0.7868 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4158, allocations: 0 / 0.7868 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.4159, allocations: 86.12 kB / 0.7869 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.4162, allocations: 247.8 kB / 0.7871 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4175, allocations: 0.6232 MB / 0.7877 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.4178, allocations: 174.8 kB / 0.7879 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.4181, allocations: 173.6 kB / 0.7881 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.4181, allocations: 0.5 kB / 0.7881 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4181, allocations: 36.2 kB / 0.7881 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.4181, allocations: 0.625 kB / 0.7881 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.000759/0.4189, allocations: 0.5304 MB / 0.7886 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.419, allocations: 83.2 kB / 0.7887 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.4193, allocations: 289.3 kB / 0.789 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4193, allocations: 33.7 kB / 0.789 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.4194, allocations: 133.8 kB / 0.7891 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.4195, allocations: 115.2 kB / 0.7893 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.4196, allocations: 39.88 kB / 0.7893 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4198, allocations: 340.9 kB / 0.7896 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4199, allocations: 133.3 kB / 0.7897 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.4201, allocations: 140.7 kB / 0.7899 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.4205, allocations: 383.7 kB / 0.7902 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4205, allocations: 4 kB / 0.7903 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004412/0.4209, allocations: 385.5 kB / 0.7906 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.421, allocations: 34.48 kB / 0.7907 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.421, allocations: 0 / 0.7907 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.421, allocations: 1.375 kB / 0.7907 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.4211, allocations: 1.359 kB / 0.7907 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4211, allocations: 5.719 kB / 0.7907 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.4211, allocations: 21.44 kB / 0.7907 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.4212, allocations: 10.19 kB / 0.7907 GB, free: 8.816 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.0001638/0.4213, allocations: 189.6 kB / 0.7909 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.4214, allocations: 25.78 kB / 0.7909 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.4214, allocations: 23.03 kB / 0.7909 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/0.4215, allocations: 37.02 kB / 0.791 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4215, allocations: 5.344 kB / 0.791 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4215, allocations: 0.7031 kB / 0.791 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.4222, allocations: 296.9 kB / 0.7912 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4222, allocations: 0 / 0.7912 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.4222, allocations: 2.391 kB / 0.7912 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4222, allocations: 3.984 kB / 0.7912 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4222, allocations: 8.266 kB / 0.7913 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4223, allocations: 2.281 kB / 0.7913 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4223, allocations: 3.938 kB / 0.7913 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.4228, allocations: 488.4 kB / 0.7917 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.4229, allocations: 109.3 kB / 0.7918 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.4229, allocations: 5.922 kB / 0.7918 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.423, allocations: 0 / 0.7918 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.423, allocations: 11.17 kB / 0.7918 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.4231, allocations: 17.25 kB / 0.7919 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002208/0.4233, allocations: 215 kB / 0.7921 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4233, allocations: 3.938 kB / 0.7921 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006186/0.4239, allocations: 172.2 kB / 0.7922 GB, free: 7.914 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.001174/0.4251, allocations: 1.141 MB / 0.7934 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.4256, allocations: 387.6 kB / 0.7937 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.4256, allocations: 4 kB / 0.7937 GB, free: 7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.4259, allocations: 235.3 kB / 0.7939 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.4261, allocations: 17.03 kB / 0.794 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.4301, allocations: 3.632 MB / 0.7975 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.4305, allocations: 0.7803 MB / 0.7983 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.516e-05/0.4306, allocations: 50.3 kB / 0.7983 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.4307, allocations: 74.22 kB / 0.7984 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.4307, allocations: 0 / 0.7984 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.459, allocations: 6.521 MB / 0.8048 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.382, allocations: 14.56 kB / 0.8048 GB, free: 0.9258 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)