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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7891/0.7891, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 177 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008765, allocations: 92.33 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 280.6 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 16.69 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4818, allocations: 110.3 MB / 0.8815 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4821, allocations: 74.53 kB / 0.8816 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.4952, allocations: 4.962 MB / 0.8864 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4953, allocations: 0 / 0.8864 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.4953, allocations: 6.875 kB / 0.8864 GB, free: 107.3 MB / 0.5417 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.0004861/0.4958, allocations: 0.5639 MB / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.4958, allocations: 9.375 kB / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.4959, allocations: 60.33 kB / 0.887 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.4959, allocations: 24.34 kB / 0.8871 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.4962, allocations: 250.7 kB / 0.8873 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4962, allocations: 10.77 kB / 0.8873 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.4962, allocations: 3.969 kB / 0.8873 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.4966, allocations: 300 kB / 0.8876 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.4966, allocations: 4 kB / 0.8876 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.4967, allocations: 5.516 kB / 0.8876 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.121e-05/0.4968, allocations: 48.16 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.497, allocations: 232.9 kB / 0.8879 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.4989, allocations: 0.6249 MB / 0.8885 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.4991, allocations: 181.7 kB / 0.8887 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.4991, allocations: 2 kB / 0.8887 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.4991, allocations: 34.72 kB / 0.8887 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.4991, allocations: 0 / 0.8887 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0007095/0.4998, allocations: 0.7233 MB / 0.8894 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.4999, allocations: 77.86 kB / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.5001, allocations: 262.2 kB / 0.8897 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.5001, allocations: 26.41 kB / 0.8898 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.5002, allocations: 135.2 kB / 0.8899 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.5002, allocations: 116.2 kB / 0.89 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.5003, allocations: 3.75 kB / 0.89 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.5003, allocations: 344.3 kB / 0.8903 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5005, allocations: 137.6 kB / 0.8905 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.5006, allocations: 140.9 kB / 0.8906 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.5008, allocations: 189.7 kB / 0.8908 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5008, allocations: 0 / 0.8908 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003983/0.5012, allocations: 400.6 kB / 0.8912 GB, free: 105 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5013, allocations: 34.77 kB / 0.8912 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5013, allocations: 2 kB / 0.8912 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5013, allocations: 1.312 kB / 0.8912 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.77e-05/0.5013, allocations: 1.25 kB / 0.8912 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5013, allocations: 5.203 kB / 0.8912 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.5014, allocations: 20.28 kB / 0.8912 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.5014, allocations: 14.72 kB / 0.8912 GB, free: 104.9 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.5015, allocations: 186.4 kB / 0.8914 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.5016, allocations: 22.66 kB / 0.8914 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.5016, allocations: 30 kB / 0.8915 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.266e-05/0.5017, allocations: 18.64 kB / 0.8915 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.5017, allocations: 3.188 kB / 0.8915 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5017, allocations: 0 / 0.8915 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.5024, allocations: 301 kB / 0.8918 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5024, allocations: 0.875 kB / 0.8918 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.5025, allocations: 4.062 kB / 0.8918 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5025, allocations: 0 / 0.8918 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.5025, allocations: 9.344 kB / 0.8918 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5025, allocations: 0 / 0.8918 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5025, allocations: 0.9375 kB / 0.8918 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.5029, allocations: 0.5017 MB / 0.8923 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.503, allocations: 106.9 kB / 0.8924 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.503, allocations: 2.594 kB / 0.8924 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.5031, allocations: 1.562 kB / 0.8924 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.5031, allocations: 8.922 kB / 0.8924 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.5032, allocations: 19.97 kB / 0.8924 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001489/0.5033, allocations: 211.4 kB / 0.8926 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5033, allocations: 6.844 kB / 0.8926 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005752/0.5039, allocations: 198.3 kB / 0.8928 GB, free: 104.1 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008122/0.5047, allocations: 1.166 MB / 0.8939 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.5052, allocations: 372.6 kB / 0.8943 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5052, allocations: 4 kB / 0.8943 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.5054, allocations: 246 kB / 0.8945 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.5056, allocations: 12.39 kB / 0.8946 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.5079, allocations: 2.083 MB / 0.8966 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.5081, allocations: 0.7805 MB / 0.8973 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.682e-05/0.5082, allocations: 41.11 kB / 0.8974 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.5083, allocations: 72.45 kB / 0.8975 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5083, allocations: 1.125 kB / 0.8975 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.528, allocations: 6.049 MB / 0.9034 GB, free: 99.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001275/0.5282, allocations: 208 kB / 0.9036 GB, free: 98.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.409, allocations: 5.438 kB / 0.9036 GB, free: 98.89 MB / 0.5417 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/linux/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)