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.8609/0.8609, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001112/0.001112, allocations: 176.9 kB / 182.2 MB, free: 9.465 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.499/1.499, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.00118/0.00118, allocations: 87.81 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 273.1 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.832e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4558, allocations: 82.77 MB / 0.7575 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.6001, allocations: 109.6 MB / 0.8645 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.6003, allocations: 75.95 kB / 0.8645 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01421/0.6145, allocations: 4.913 MB / 0.8693 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6146, allocations: 4 kB / 0.8693 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.6146, allocations: 4 kB / 0.8694 GB, free: 13.29 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.0006918/0.6153, allocations: 0.5345 MB / 0.8699 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.6154, allocations: 15.91 kB / 0.8699 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.6154, allocations: 23.62 kB / 0.8699 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.6158, allocations: 242.6 kB / 0.8701 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.6158, allocations: 7.953 kB / 0.8702 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.6159, allocations: 0 / 0.8702 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003232/0.6162, allocations: 240.4 kB / 0.8704 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.6166, allocations: 300.8 kB / 0.8707 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6166, allocations: 0 / 0.8707 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.6166, allocations: 0 / 0.8707 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.12e-05/0.6167, allocations: 51.95 kB / 0.8707 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.6184, allocations: 0.5403 MB / 0.8712 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.6186, allocations: 178.8 kB / 0.8714 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.6189, allocations: 177 kB / 0.8716 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.6189, allocations: 7.984 kB / 0.8716 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.6189, allocations: 38.5 kB / 0.8716 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.6189, allocations: 0 / 0.8716 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0005837/0.6195, allocations: 358 kB / 0.872 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.6196, allocations: 85.11 kB / 0.872 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.6198, allocations: 177.8 kB / 0.8722 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.6198, allocations: 29.7 kB / 0.8722 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.6199, allocations: 136.5 kB / 0.8724 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.62, allocations: 110.3 kB / 0.8725 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.62, allocations: 0 / 0.8725 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6202, allocations: 334.8 kB / 0.8728 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.6203, allocations: 139.8 kB / 0.8729 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.6205, allocations: 135.9 kB / 0.8731 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.6207, allocations: 164.5 kB / 0.8732 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6207, allocations: 0 / 0.8732 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004473/0.6212, allocations: 365.9 kB / 0.8736 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.6212, allocations: 33.7 kB / 0.8736 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6213, allocations: 4 kB / 0.8736 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.6213, allocations: 0 / 0.8736 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.6213, allocations: 3.938 kB / 0.8736 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6213, allocations: 5.5 kB / 0.8736 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.6214, allocations: 11.84 kB / 0.8736 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.6214, allocations: 19.98 kB / 0.8736 GB, free: 8.66 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 () * 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 9.517e-05/0.6215, allocations: 130.6 kB / 0.8738 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004711/0.622, allocations: 370.4 kB / 0.8741 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.6221, allocations: 11.81 kB / 0.8741 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.6221, allocations: 15.41 kB / 0.8742 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.027e-05/0.6222, allocations: 23.98 kB / 0.8742 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6222, allocations: 0 / 0.8742 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6222, allocations: 0 / 0.8742 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.6229, allocations: 273.8 kB / 0.8744 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6229, allocations: 3.938 kB / 0.8744 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.623, allocations: 4 kB / 0.8744 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.623, allocations: 0 / 0.8744 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.623, allocations: 4 kB / 0.8744 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.623, allocations: 4 kB / 0.8744 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.623, allocations: 3.938 kB / 0.8745 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.6235, allocations: 476.2 kB / 0.8749 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.6236, allocations: 96.77 kB / 0.875 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.6236, allocations: 4 kB / 0.875 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.6237, allocations: 0 / 0.875 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.6237, allocations: 7.984 kB / 0.875 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.6238, allocations: 20 kB / 0.875 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001121/0.6239, allocations: 139.2 kB / 0.8752 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6239, allocations: 0 / 0.8752 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007268/0.6246, allocations: 203.6 kB / 0.8754 GB, free: 6.82 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 () * 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.001137/0.6258, allocations: 1.123 MB / 0.8765 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.6263, allocations: 379.5 kB / 0.8768 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6263, allocations: 4 kB / 0.8768 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.6265, allocations: 231.3 kB / 0.877 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.6267, allocations: 8.188 kB / 0.877 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.6276, allocations: 0.5893 MB / 0.8776 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.6281, allocations: 0.7836 MB / 0.8784 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.56e-05/0.6282, allocations: 35.92 kB / 0.8784 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.6283, allocations: 71.41 kB / 0.8785 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6283, allocations: 4 kB / 0.8785 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.6535, allocations: 5.091 MB / 0.8835 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.6537, allocations: 181.8 kB / 0.8836 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.479, allocations: 1.562 kB / 0.8836 GB, free: 14.2 MB / 0.5573 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)