Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.7227/0.7227, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 185.1 kB / 187.3 MB, free: 11.88 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.298/1.298, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009343/0.0009339, allocations: 100.1 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 281.5 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.216e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.5342, allocations: 109.6 MB / 0.8714 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5345, allocations: 75.95 kB / 0.8715 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003056/0.5376, allocations: 1.157 MB / 0.8726 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5376, allocations: 0 / 0.8726 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5376, allocations: 4 kB / 0.8726 GB, free: 13.69 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002945/0.5379, allocations: 338.5 kB / 0.873 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5379, allocations: 12.03 kB / 0.873 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.538, allocations: 34.56 kB / 0.873 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.538, allocations: 3.906 kB / 0.873 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.5381, allocations: 167 kB / 0.8732 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5382, allocations: 11.95 kB / 0.8732 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.5382, allocations: 3.984 kB / 0.8732 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.5383, allocations: 57.61 kB / 0.8732 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5383, allocations: 0 / 0.8732 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.5383, allocations: 4 kB / 0.8732 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5383, allocations: 0 / 0.8732 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.5384, allocations: 20 kB / 0.8733 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.5388, allocations: 284.8 kB / 0.8735 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.539, allocations: 58.62 kB / 0.8736 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.539, allocations: 28.98 kB / 0.8736 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5391, allocations: 4 kB / 0.8736 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.5391, allocations: 34.66 kB / 0.8737 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.5391, allocations: 3.938 kB / 0.8737 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001519/0.5392, allocations: 57.59 kB / 0.8737 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.5393, allocations: 55.41 kB / 0.8738 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.5393, allocations: 93 kB / 0.8739 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.5394, allocations: 25.7 kB / 0.8739 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.5394, allocations: 88.06 kB / 0.874 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.5394, allocations: 19.81 kB / 0.874 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.5395, allocations: 0 / 0.874 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.5396, allocations: 314.8 kB / 0.8743 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.5396, allocations: 12 kB / 0.8743 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.5396, allocations: 11.98 kB / 0.8743 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.5396, allocations: 12 kB / 0.8743 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5396, allocations: 0 / 0.8743 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.631e-05/0.5397, allocations: 61.53 kB / 0.8744 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5398, allocations: 8 kB / 0.8744 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5398, allocations: 7.875 kB / 0.8744 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5398, allocations: 4 kB / 0.8744 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.5398, allocations: 11.98 kB / 0.8744 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5399, allocations: 0 / 0.8744 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.5399, allocations: 0 / 0.8744 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.5399, allocations: 0 / 0.8744 GB, free: 11.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 6.259e-05/0.54, allocations: 112.9 kB / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.54, allocations: 0 / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.5402, allocations: 97.06 kB / 0.8746 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5402, allocations: 0 / 0.8746 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5402, allocations: 0 / 0.8746 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5402, allocations: 0 / 0.8746 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.5404, allocations: 181.5 kB / 0.8748 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5404, allocations: 0 / 0.8748 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.5404, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5404, allocations: 0 / 0.8748 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.5405, allocations: 0 / 0.8748 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5405, allocations: 0 / 0.8748 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5405, allocations: 0 / 0.8748 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.5406, allocations: 185.9 kB / 0.875 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.5407, allocations: 85 kB / 0.875 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.5407, allocations: 4 kB / 0.875 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.5407, allocations: 0 / 0.875 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.5408, allocations: 11.98 kB / 0.8751 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.5408, allocations: 4 kB / 0.8751 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.5408, allocations: 79.27 kB / 0.8751 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5408, allocations: 0 / 0.8751 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002003/0.541, allocations: 16 kB / 0.8752 GB, free: 10.8 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0003558/0.5414, allocations: 0.6991 MB / 0.8758 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.5415, allocations: 35.98 kB / 0.8759 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5415, allocations: 4 kB / 0.8759 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.5415, allocations: 23.94 kB / 0.8759 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.5417, allocations: 4 kB / 0.8759 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.542, allocations: 134.3 kB / 0.876 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.5423, allocations: 0.6869 MB / 0.8767 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.5423, allocations: 3.984 kB / 0.8767 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.5424, allocations: 19.44 kB / 0.8767 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.5424, allocations: 4 kB / 0.8767 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.5542, allocations: 1.211 MB / 0.8779 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.5544, allocations: 183.2 kB / 0.8781 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/1.996, allocations: 4.062 kB / 0.8781 GB, free: 7.852 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)