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.7725/0.7725, allocations: 143.3 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.001023/0.001023, allocations: 181 kB / 191.5 MB, free: 5.77 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.329/1.329, allocations: 223.1 MB / 447.7 MB, free: 4.805 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.0008488/0.0008488, allocations: 96.27 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 273.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 13.81 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.123, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.5088, allocations: 109.7 MB / 0.8809 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.5091, allocations: 91.86 kB / 0.881 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002971/0.5121, allocations: 1.145 MB / 0.8821 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5121, allocations: 0 / 0.8821 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5121, allocations: 0 / 0.8821 GB, free: 107.9 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.0002468/0.5124, allocations: 349.2 kB / 0.8824 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5124, allocations: 15.27 kB / 0.8825 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.5125, allocations: 38.19 kB / 0.8825 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.5125, allocations: 7.656 kB / 0.8825 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.5126, allocations: 161.7 kB / 0.8827 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5126, allocations: 6.891 kB / 0.8827 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.5126, allocations: 10.53 kB / 0.8827 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.933e-05/0.5127, allocations: 51.64 kB / 0.8827 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5127, allocations: 0.75 kB / 0.8827 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.5127, allocations: 5.219 kB / 0.8827 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.5127, allocations: 0 / 0.8827 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.5128, allocations: 26.62 kB / 0.8827 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.5131, allocations: 288.4 kB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.5132, allocations: 54.98 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.5132, allocations: 0 / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.5133, allocations: 36.48 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.5133, allocations: 0.7969 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001576/0.5134, allocations: 68.52 kB / 0.8832 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.5135, allocations: 60.55 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.674e-05/0.5135, allocations: 93.27 kB / 0.8833 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.5135, allocations: 28.42 kB / 0.8834 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.5135, allocations: 93.27 kB / 0.8834 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.5136, allocations: 13.78 kB / 0.8835 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.5136, allocations: 3.375 kB / 0.8835 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.5136, allocations: 314.8 kB / 0.8838 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.5136, allocations: 9.062 kB / 0.8838 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.5137, allocations: 12.28 kB / 0.8838 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.5137, allocations: 14.22 kB / 0.8838 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5137, allocations: 0 / 0.8838 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.285e-05/0.5138, allocations: 61.48 kB / 0.8838 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5138, allocations: 6.594 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.5138, allocations: 0 / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5138, allocations: 4.312 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.5139, allocations: 8.531 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5139, allocations: 0 / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.5139, allocations: 0.6875 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.5139, allocations: 2.656 kB / 0.8839 GB, free: 106.2 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 (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 4.244e-05/0.514, allocations: 126.8 kB / 0.884 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.514, allocations: 3.906 kB / 0.884 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.5142, allocations: 86.62 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5142, allocations: 0 / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5142, allocations: 2.188 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5142, allocations: 0.8125 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.5143, allocations: 187.2 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.5143, allocations: 0 / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.5144, allocations: 14.56 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5144, allocations: 1.125 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.5144, allocations: 3.969 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5144, allocations: 0 / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5144, allocations: 2.641 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.5145, allocations: 181.7 kB / 0.8845 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.5146, allocations: 77.11 kB / 0.8845 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.5146, allocations: 6.312 kB / 0.8845 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.5146, allocations: 8.688 kB / 0.8845 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.5147, allocations: 1.906 kB / 0.8845 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.5147, allocations: 2.969 kB / 0.8845 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.5147, allocations: 82.27 kB / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5147, allocations: 0 / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002249/0.515, allocations: 9.625 kB / 0.8846 GB, free: 105.5 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 (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.0002286/0.5152, allocations: 0.7115 MB / 0.8853 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.771e-05/0.5153, allocations: 34.94 kB / 0.8854 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5153, allocations: 6.469 kB / 0.8854 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.5153, allocations: 25.78 kB / 0.8854 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.5155, allocations: 2.719 kB / 0.8854 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.516, allocations: 423.1 kB / 0.8858 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.5161, allocations: 0.6855 MB / 0.8865 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.5161, allocations: 6.438 kB / 0.8865 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.5162, allocations: 26.31 kB / 0.8865 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.5162, allocations: 0 / 0.8865 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009774/0.5259, allocations: 1.193 MB / 0.8877 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001243/0.5261, allocations: 213.9 kB / 0.8879 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.387/1.913, allocations: 0 / 0.8879 GB, free: 103.4 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)